Skip navigation links
A D G H I L N O P R S U 

A

AbstractServiceBusRuntimeException - Exception in org.refcodes.servicebus
Base exception for ServiceBus related runtime exceptions.
AbstractServiceBusRuntimeException(String, String) - Constructor for exception org.refcodes.servicebus.AbstractServiceBusRuntimeException
 
AbstractServiceBusRuntimeException(String, Throwable, String) - Constructor for exception org.refcodes.servicebus.AbstractServiceBusRuntimeException
 
AbstractServiceBusRuntimeException(String, Throwable) - Constructor for exception org.refcodes.servicebus.AbstractServiceBusRuntimeException
 
AbstractServiceBusRuntimeException(String) - Constructor for exception org.refcodes.servicebus.AbstractServiceBusRuntimeException
 
AbstractServiceBusRuntimeException(Throwable, String) - Constructor for exception org.refcodes.servicebus.AbstractServiceBusRuntimeException
 
AbstractServiceBusRuntimeException(Throwable) - Constructor for exception org.refcodes.servicebus.AbstractServiceBusRuntimeException
 
addService(ServiceDescriptor<S, SCTX>) - Method in class org.refcodes.servicebus.impls.ServiceDirectoryImpl
 
addService(ServiceDescriptor<S, SCTX>) - Method in interface org.refcodes.servicebus.ServiceDirectory
Registers a service to the service bus.
AmbiguousServiceRuntimeException - Exception in org.refcodes.servicebus
This exception is thrown whenever a service cannot be unambiguously distinguished from another service because a matcher was not strict enough to identify just one service.
AmbiguousServiceRuntimeException(ServiceMatcher<?>, String, String) - Constructor for exception org.refcodes.servicebus.AmbiguousServiceRuntimeException
 
AmbiguousServiceRuntimeException(ServiceMatcher<?>, String, Throwable, String) - Constructor for exception org.refcodes.servicebus.AmbiguousServiceRuntimeException
 
AmbiguousServiceRuntimeException(ServiceMatcher<?>, String, Throwable) - Constructor for exception org.refcodes.servicebus.AmbiguousServiceRuntimeException
 
AmbiguousServiceRuntimeException(ServiceMatcher<?>, String) - Constructor for exception org.refcodes.servicebus.AmbiguousServiceRuntimeException
 
AmbiguousServiceRuntimeException(ServiceMatcher<?>, Throwable, String) - Constructor for exception org.refcodes.servicebus.AmbiguousServiceRuntimeException
 
AmbiguousServiceRuntimeException(ServiceMatcher<?>, Throwable) - Constructor for exception org.refcodes.servicebus.AmbiguousServiceRuntimeException
 
and(ServiceMatcher<S>...) - Static method in class org.refcodes.servicebus.ServiceMatcherByDeclaration
Factory method to create an "AND" matcher for the given matchers.

D

destroyServices() - Method in class org.refcodes.servicebus.impls.ServiceBusImpl
 
DuplicateServiceRuntimeException - Exception in org.refcodes.servicebus
This exception is thrown whenever a service, which cannot be distinguished from another service, is added to the service bus.
DuplicateServiceRuntimeException(Service<?>, String, String) - Constructor for exception org.refcodes.servicebus.DuplicateServiceRuntimeException
 
DuplicateServiceRuntimeException(Service<?>, String, Throwable, String) - Constructor for exception org.refcodes.servicebus.DuplicateServiceRuntimeException
 
DuplicateServiceRuntimeException(Service<?>, String, Throwable) - Constructor for exception org.refcodes.servicebus.DuplicateServiceRuntimeException
 
DuplicateServiceRuntimeException(Service<?>, String) - Constructor for exception org.refcodes.servicebus.DuplicateServiceRuntimeException
 
DuplicateServiceRuntimeException(Service<?>, Throwable, String) - Constructor for exception org.refcodes.servicebus.DuplicateServiceRuntimeException
 
DuplicateServiceRuntimeException(Service<?>, Throwable) - Constructor for exception org.refcodes.servicebus.DuplicateServiceRuntimeException
 

G

getGroupId() - Method in interface org.refcodes.servicebus.GroupIdAccessor
Retrieves the group ID from the group ID property.
getGroupId() - Method in class org.refcodes.servicebus.impls.ServiceMetaDataImpl
 
getName() - Method in class org.refcodes.servicebus.impls.ServiceMetaDataImpl
 
getNameId() - Method in class org.refcodes.servicebus.impls.ServiceMetaDataImpl
 
getNameId() - Method in interface org.refcodes.servicebus.NameIdAccessor
Retrieves the name ID from the name ID property.
getObservableLifeCycleAutomaton() - Method in class org.refcodes.servicebus.impls.ServiceContextImpl
 
getService() - Method in class org.refcodes.servicebus.impls.ServiceDescriptorImpl
 
getService() - Method in interface org.refcodes.servicebus.ServiceAccessor
Retrieves the Service property from the property.
getServiceBus() - Method in class org.refcodes.servicebus.impls.ServiceContextImpl
 
getServiceBus() - Method in interface org.refcodes.servicebus.ServiceBusAccessor
Retrieves the ServiceBus property from the property.
getServiceContext() - Method in class org.refcodes.servicebus.impls.ServiceDescriptorImpl
 
getServiceContext() - Method in interface org.refcodes.servicebus.ServiceContextAccessor
Retrieves the Service's context property from the property.
getServiceDescriptor() - Method in interface org.refcodes.servicebus.ServiceDescriptorAccessor
Retrieves the ServiceDescriptor property from the property.
getServiceDescriptors() - Method in class org.refcodes.servicebus.impls.ServiceDirectoryImpl
 
getServiceDescriptors() - Method in class org.refcodes.servicebus.impls.ServiceLookupImpl
 
getServiceDescriptors() - Method in interface org.refcodes.servicebus.ServiceLookup
Returns a collection containing the ServiceDescriptor instances known by the ServiceLookup.
getServiceMatcher() - Method in interface org.refcodes.servicebus.ServiceMatcherAccessor
Retrieves the ServiceMatcher property from the property.
getUniversalId() - Method in class org.refcodes.servicebus.impls.ServiceMetaDataImpl
 
GroupIdAccessor - Interface in org.refcodes.servicebus
Provides an accessor for a group ID property.
GroupIdAccessor.GroupIdMutator - Interface in org.refcodes.servicebus
Provides a mutator for a group ID property.
GroupIdAccessor.GroupIdProperty - Interface in org.refcodes.servicebus
Provides a group ID property.

H

hasService(ServiceMatcher<S>) - Method in class org.refcodes.servicebus.impls.ServiceBusImpl
 
hasService(ServiceDescriptor<S, SCTX>) - Method in class org.refcodes.servicebus.impls.ServiceDirectoryImpl
 
hasService(ServiceDescriptor<S, SCTX>) - Method in class org.refcodes.servicebus.impls.ServiceLookupImpl
 
hasService(ServiceMatcher<S>) - Method in interface org.refcodes.servicebus.ServiceBus
Determines whether the given ServiceMatcher will result in a single Service to be looked up.
hasService(ServiceDescriptor<S, SCTX>) - Method in interface org.refcodes.servicebus.ServiceLookup
Determines whether the given service is known by the service bus by taking the service type and the service meta data as criteria, not the service identity.

I

initializeServices() - Method in class org.refcodes.servicebus.impls.ServiceBusImpl
 
isAssignableFrom(Class<?>) - Static method in class org.refcodes.servicebus.ServiceMatcherByDeclaration
Factory method to create an service matcher by service type.
isMatching(S) - Method in interface org.refcodes.servicebus.ServiceMatcher
Tests whether the given service matches this descriptor by comparing the service's type with the type specified in this descriptor as well as the service's meta data with the meta data stored in the descriptor. .

L

lookupService(ServiceMatcher<S>) - Method in class org.refcodes.servicebus.impls.ServiceBusImpl
 
lookupService(ServiceMatcher<S>) - Method in interface org.refcodes.servicebus.ServiceBus
Looks for a service matching the given service descriptor and returns it if found.

N

NameIdAccessor - Interface in org.refcodes.servicebus
Provides an accessor for a name ID property.
NameIdAccessor.NameIdMutator - Interface in org.refcodes.servicebus
Provides a mutator for a name ID property.
NameIdAccessor.NameIdProperty - Interface in org.refcodes.servicebus
Provides a name ID property.
NoMatchingServiceRuntimeException - Exception in org.refcodes.servicebus
This exception is thrown whenever a service cannot be unambiguously distinguished from another service because a matcher was not strict enough to identify just one service.
NoMatchingServiceRuntimeException(ServiceMatcher<?>, String, String) - Constructor for exception org.refcodes.servicebus.NoMatchingServiceRuntimeException
 
NoMatchingServiceRuntimeException(ServiceMatcher<?>, String, Throwable, String) - Constructor for exception org.refcodes.servicebus.NoMatchingServiceRuntimeException
 
NoMatchingServiceRuntimeException(ServiceMatcher<?>, String, Throwable) - Constructor for exception org.refcodes.servicebus.NoMatchingServiceRuntimeException
 
NoMatchingServiceRuntimeException(ServiceMatcher<?>, String) - Constructor for exception org.refcodes.servicebus.NoMatchingServiceRuntimeException
 
NoMatchingServiceRuntimeException(ServiceMatcher<?>, Throwable, String) - Constructor for exception org.refcodes.servicebus.NoMatchingServiceRuntimeException
 
NoMatchingServiceRuntimeException(ServiceMatcher<?>, Throwable) - Constructor for exception org.refcodes.servicebus.NoMatchingServiceRuntimeException
 

O

onLifecycleEvent(LifeCycleEvent.LifeCycleRequestEvent) - Method in class org.refcodes.servicebus.impls.ServiceBusImpl
This method is used to handle life-cycle events and inform the according services of any life-cycle state changes.
or(ServiceMatcher<S>...) - Static method in class org.refcodes.servicebus.ServiceMatcherByDeclaration
Factory method to create an "OR" matcher for the given matchers.
org.refcodes.servicebus - package org.refcodes.servicebus
 
org.refcodes.servicebus.impls - package org.refcodes.servicebus.impls
 

P

pauseServices() - Method in class org.refcodes.servicebus.impls.ServiceBusImpl
 

R

registerLifecycleEventDispatcher(ObservableLifeCycleAutomaton) - Method in class org.refcodes.servicebus.impls.ServiceBusImpl
This method registers a life-cycle event listener which dispatches any incoming life-cycle events to the #onLifecycleEvent(LifecycleEvent) method of this class.
removeService(ServiceDescriptor<S, SCTX>) - Method in class org.refcodes.servicebus.impls.ServiceDirectoryImpl
 
removeService(ServiceDescriptor<S, SCTX>) - Method in interface org.refcodes.servicebus.ServiceDirectory
Unregisters a service to the service bus.
resumeServices() - Method in class org.refcodes.servicebus.impls.ServiceBusImpl
 

S

Service<SMD> - Interface in org.refcodes.servicebus
Any Service to be made available by the service bus must implement this interface.
ServiceAccessor<S extends Service<?>> - Interface in org.refcodes.servicebus
Provides an accessor for a Service property.
ServiceAccessor.ServiceMutator<S extends Service<?>> - Interface in org.refcodes.servicebus
Provides a mutator for a Service property.
ServiceAccessor.ServiceProperty<S extends Service<?>> - Interface in org.refcodes.servicebus
Provides a Service property.
ServiceBus<S extends Service<?>> - Interface in org.refcodes.servicebus
The ServiceBus defines the functionality for Service instances to look up other Service instances.
ServiceBusAccessor<S extends Service<?>> - Interface in org.refcodes.servicebus
Provides an accessor for a ServiceBus property.
ServiceBusAccessor.ServiceBusMutator<S extends Service<?>> - Interface in org.refcodes.servicebus
Provides a mutator for a ServiceBus property.
ServiceBusAccessor.ServiceBusProperty<S extends Service<?>> - Interface in org.refcodes.servicebus
Provides a ServiceBus property.
ServiceBusImpl<S extends Service<?>,SCTX extends ServiceContext<S>> - Class in org.refcodes.servicebus.impls
 
ServiceBusImpl(ServiceLookup<S, SCTX>, ObservableLifeCycleAutomaton) - Constructor for class org.refcodes.servicebus.impls.ServiceBusImpl
Constructs the subscriber part of the event bus.
ServiceContext<S extends Service<?>> - Interface in org.refcodes.servicebus
The ServiceContext is a context passed (for example injected) to a service in order configure that service.
ServiceContextAccessor<SCTX> - Interface in org.refcodes.servicebus
Provides an accessor for Service's context property.
ServiceContextAccessor.ServiceContextMutator<SCTX> - Interface in org.refcodes.servicebus
Provides a mutator for Service's context property.
ServiceContextAccessor.ServiceContextProperty<SCTX> - Interface in org.refcodes.servicebus
Provides a Service's context property.
ServiceContextImpl<S extends Service<?>> - Class in org.refcodes.servicebus.impls
ServiceContextImpl(ServiceBus<S>, ObservableLifeCycleAutomaton) - Constructor for class org.refcodes.servicebus.impls.ServiceContextImpl
Constructs the ServiceContextImpl to be configured with the given ObservableLifeCycleAutomaton.
ServiceDescriptor<S extends Service<?>,SCTX> - Interface in org.refcodes.servicebus
The descriptor is used to describe a service including its configuration.
ServiceDescriptorAccessor<SD extends ServiceDescriptor<?,?>> - Interface in org.refcodes.servicebus
Provides an accessor for a ServiceDescriptor property.
ServiceDescriptorAccessor.ServiceDescriptorMutator<SD extends ServiceDescriptor<?,?>> - Interface in org.refcodes.servicebus
Provides a mutator for a ServiceDescriptor property.
ServiceDescriptorAccessor.ServiceDescriptorProperty<SD extends ServiceDescriptor<?,?>> - Interface in org.refcodes.servicebus
Provides a ServiceDescriptor property.
ServiceDescriptorImpl<S extends Service<?>,SCTX> - Class in org.refcodes.servicebus.impls
ServiceDescriptorImpl(S, SCTX) - Constructor for class org.refcodes.servicebus.impls.ServiceDescriptorImpl
Constructs the ServiceDescriptorImpl to be configured with the given Service and the given context.
ServiceDirectory<S extends Service<?>,SCTX> - Interface in org.refcodes.servicebus
The service descriptor manager can be used to manage services and them configurations, i.e a system administering services in an my have access to a service descriptor manager.
ServiceDirectoryImpl<S extends Service<?>,SCTX extends ServiceContext<S>> - Class in org.refcodes.servicebus.impls
ServiceDirectoryImpl() - Constructor for class org.refcodes.servicebus.impls.ServiceDirectoryImpl
 
ServiceLookup<S extends Service<?>,SCTX> - Interface in org.refcodes.servicebus
The interface may be used internally by a system managing services.
ServiceLookupImpl<S extends Service<?>,SCTX> - Class in org.refcodes.servicebus.impls
The ServiceLookupImpl implements the ServiceLookup.
ServiceLookupImpl(TypedTypeFactory<ServiceDescriptor<S, SCTX>>) - Constructor for class org.refcodes.servicebus.impls.ServiceLookupImpl
Creates a ServiceLookupImpl for the required type.
ServiceMatcher<S extends Service<?>> - Interface in org.refcodes.servicebus
This interface typifies the matcher interface for the usage with services.
ServiceMatcherAccessor - Interface in org.refcodes.servicebus
Provides an accessor for a ServiceMatcher property.
ServiceMatcherAccessor.ServiceMatcherMutator - Interface in org.refcodes.servicebus
Provides a mutator for a ServiceMatcher property.
ServiceMatcherAccessor.ServiceMatcherProperty - Interface in org.refcodes.servicebus
Provides a ServiceMatcher property.
ServiceMatcherByDeclaration - Class in org.refcodes.servicebus
 
ServiceMatcherByDeclaration() - Constructor for class org.refcodes.servicebus.ServiceMatcherByDeclaration
 
ServiceMetaData - Interface in org.refcodes.servicebus
Service meta data describes criteria identifying a specific service within a pool of services.
ServiceMetaDataImpl - Class in org.refcodes.servicebus.impls
ServiceMetaDataImpl(String, String, String, String) - Constructor for class org.refcodes.servicebus.impls.ServiceMetaDataImpl
Constructs a ServiceMetaDataImpl with the given attributes.
setGroupId(String) - Method in interface org.refcodes.servicebus.GroupIdAccessor.GroupIdMutator
Sets the group ID for the group ID property.
setNameId(String) - Method in interface org.refcodes.servicebus.NameIdAccessor.NameIdMutator
Sets the name ID for the name ID property.
setService(S) - Method in interface org.refcodes.servicebus.ServiceAccessor.ServiceMutator
Sets the Service property for the property.
setServiceBus(S) - Method in interface org.refcodes.servicebus.ServiceBusAccessor.ServiceBusMutator
Sets the ServiceBus property for the property.
setServiceContext(SCTX) - Method in interface org.refcodes.servicebus.ServiceContextAccessor.ServiceContextMutator
Sets the Service's context property for the property.
setServiceDescriptor(SD) - Method in interface org.refcodes.servicebus.ServiceDescriptorAccessor.ServiceDescriptorMutator
Sets the Service property from the property.
setServiceMatcher(ServiceMatcher<?>) - Method in interface org.refcodes.servicebus.ServiceMatcherAccessor.ServiceMatcherMutator
Sets the ServiceMatcher property for the property.
startServices() - Method in class org.refcodes.servicebus.impls.ServiceBusImpl
 
stopServices() - Method in class org.refcodes.servicebus.impls.ServiceBusImpl
 

U

UnknownServiceRuntimeException - Exception in org.refcodes.servicebus
This exception is thrown whenever a service, which cannot be distinguished from another service, is added to the service bus.
UnknownServiceRuntimeException(Service<?>, String, String) - Constructor for exception org.refcodes.servicebus.UnknownServiceRuntimeException
 
UnknownServiceRuntimeException(Service<?>, String, Throwable, String) - Constructor for exception org.refcodes.servicebus.UnknownServiceRuntimeException
 
UnknownServiceRuntimeException(Service<?>, String, Throwable) - Constructor for exception org.refcodes.servicebus.UnknownServiceRuntimeException
 
UnknownServiceRuntimeException(Service<?>, String) - Constructor for exception org.refcodes.servicebus.UnknownServiceRuntimeException
 
UnknownServiceRuntimeException(Service<?>, Throwable, String) - Constructor for exception org.refcodes.servicebus.UnknownServiceRuntimeException
 
UnknownServiceRuntimeException(Service<?>, Throwable) - Constructor for exception org.refcodes.servicebus.UnknownServiceRuntimeException
 
A D G H I L N O P R S U 
Skip navigation links

Copyright © 2015. All rights reserved.