S
- The type to be used for the Service
.public class ServiceContextImpl<S extends Service<?>> extends Object implements ServiceContext<S>
ServiceContextImpl
implements the ServiceContext
.org.refcodes.component.ext.observer.ObservableLifeCycleAutomatonAccessor.ObservableLifeCycleAutomatonMutator, org.refcodes.component.ext.observer.ObservableLifeCycleAutomatonAccessor.ObservableLifeCycleAutomatonProperty
ServiceBusAccessor.ServiceBusMutator<S extends Service<?>>, ServiceBusAccessor.ServiceBusProperty<S extends Service<?>>
Constructor and Description |
---|
ServiceContextImpl(ServiceBus<S> aServiceBus,
org.refcodes.component.ext.observer.ObservableLifeCycleAutomaton aObservableLifeCycleAutomaton)
Constructs the
ServiceContextImpl to be configured with the given
ObservableLifeCycleAutomaton . |
Modifier and Type | Method and Description |
---|---|
org.refcodes.component.ext.observer.ObservableLifeCycleAutomaton |
getObservableLifeCycleAutomaton() |
ServiceBus<S> |
getServiceBus()
Retrieves the
ServiceBus property from the property. |
public ServiceContextImpl(ServiceBus<S> aServiceBus, org.refcodes.component.ext.observer.ObservableLifeCycleAutomaton aObservableLifeCycleAutomaton)
ServiceContextImpl
to be configured with the given
ObservableLifeCycleAutomaton
.aServiceBus
- The ServiceBus
with which to construct the
ServiceContextImpl
.aObservableLifeCycleAutomaton
- The
ObservableLifeCycleAutomaton
with which to construct the
ServiceContextImpl
.public org.refcodes.component.ext.observer.ObservableLifeCycleAutomaton getObservableLifeCycleAutomaton()
getObservableLifeCycleAutomaton
in interface org.refcodes.component.ext.observer.ObservableLifeCycleAutomatonAccessor
public ServiceBus<S> getServiceBus()
ServiceBusAccessor
ServiceBus
property from the property.getServiceBus
in interface ServiceBusAccessor<S extends Service<?>>
ServiceBus
property stored by the property.Copyright © 2016. All rights reserved.