Module org.refcodes.servicebus
Package org.refcodes.servicebus
-
Interface Summary Interface Description GroupIdAccessor Provides an accessor for a group TID property.GroupIdAccessor.GroupIdMutator Provides a mutator for a group TID property.GroupIdAccessor.GroupIdProperty Provides a group TID property.NameIdAccessor Provides an accessor for a name TID property.NameIdAccessor.NameIdMutator Provides a mutator for a name TID property.NameIdAccessor.NameIdProperty Provides a name TID property.Service<SMD> AnyService
to be made available by the service bus must implement this interface.ServiceAccessor<S extends Service<?>> Provides an accessor for aService
property.ServiceAccessor.ServiceMutator<S extends Service<?>> Provides a mutator for aService
property.ServiceAccessor.ServiceProperty<S extends Service<?>> Provides aService
property.ServiceBus<S extends Service<?>> ServiceBusAccessor<S extends Service<?>> Provides an accessor for aServiceBus
property.ServiceBusAccessor.ServiceBusMutator<S extends Service<?>> Provides a mutator for aServiceBus
property.ServiceBusAccessor.ServiceBusProperty<S extends Service<?>> Provides aServiceBus
property.ServiceContext<S extends Service<?>> TheServiceContext
is a context passed (for example injected) to a service in order configure that service.ServiceContextAccessor<SCTX> Provides an accessor forService
's context property.ServiceContextAccessor.ServiceContextMutator<SCTX> Provides a mutator forService
's context property.ServiceContextAccessor.ServiceContextProperty<SCTX> Provides aService
's context property.ServiceDescriptor<S extends Service<?>,SCTX> The descriptor is used to describe a service including its configuration.ServiceDescriptorAccessor<SD extends ServiceDescriptor<?,?>> Provides an accessor for aServiceDescriptor
property.ServiceDescriptorAccessor.ServiceDescriptorMutator<SD extends ServiceDescriptor<?,?>> Provides a mutator for aServiceDescriptor
property.ServiceDescriptorAccessor.ServiceDescriptorProperty<SD extends ServiceDescriptor<?,?>> Provides aServiceDescriptor
property.ServiceDirectory<S extends Service<?>,SCTX> 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.ServiceLookup<S extends Service<?>,SCTX> The interface may be used internally by a system managing services.ServiceMatcher<S extends Service<?>> This interface typifies the matcher interface for the usage with services.ServiceMatcherAccessor Provides an accessor for aServiceMatcher
property.ServiceMatcherAccessor.ServiceMatcherMutator Provides a mutator for aServiceMatcher
property.ServiceMatcherAccessor.ServiceMatcherProperty Provides aServiceMatcher
property.ServiceMetaData Service Meta-Data describes criteria identifying a specific service within a pool of services. -
Class Summary Class Description ServiceContextImpl<S extends Service<?>> TheServiceContextImpl
implements theServiceContext
.ServiceDescriptorImpl<S extends Service<?>,SCTX> TheServiceDescriptorImpl
implements theServiceDescriptor
.ServiceDirectoryImpl<S extends Service<?>,SCTX extends ServiceContext<S>> TheServiceDirectoryImpl
implements theServiceDirectory
.ServiceLookupImpl<S extends Service<?>,SCTX> TheServiceLookupImpl
implements theServiceLookup
.ServiceMatcherSugar Declarative syntactic sugar which may be statically imported in order to allow declarative definitions for theServiceMatcher
related elements.ServiceMetaDataImpl TheServiceMetaDataImpl
implements theServiceMetaData
.SimpleServiceBus<S extends Service<?>,CTX extends ServiceContext<S>> TheSimpleServiceBus
is a basic implementation of theServiceBus
interface. -
Exception Summary Exception Description AmbiguousServiceRuntimeException 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.DuplicateServiceRuntimeException This exception is thrown whenever a service, which cannot be distinguished from another service, is added to the service bus.NoMatchingServiceRuntimeException 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.ServiceBusRuntimeException Base exception forServiceBus
related runtime exceptions.UnknownServiceRuntimeException This exception is thrown whenever a service, which cannot be distinguished from another service, is added to the service bus.