Module org.refcodes.servicebus
Package org.refcodes.servicebus
Interface ServiceContextAccessor<SCTX>
- Type Parameters:
SCTX
- The type to be used for theService
's context.
- All Known Subinterfaces:
ServiceContextAccessor.ServiceContextProperty<SCTX>
,ServiceDescriptor<S,SCTX>
- All Known Implementing Classes:
ServiceDescriptorImpl
public interface ServiceContextAccessor<SCTX>
Provides an accessor for
Service
's context property.-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
ServiceContextAccessor.ServiceContextMutator<SCTX>
Provides a mutator forService
's context property.static interface
ServiceContextAccessor.ServiceContextProperty<SCTX>
Provides aService
's context property. -
Method Summary
Modifier and Type Method Description SCTX
getServiceContext()
Retrieves theService
's context property from the property.