S
- The type to be used for the Service
.public class ServiceContextImpl<S extends Service<?>> extends Object implements ServiceContext<S>
ServiceContextImpl
implements the ServiceContext
.ObservableLifeCycleAutomatonAccessor.ObservableLifeCycleAutomatonMutator, ObservableLifeCycleAutomatonAccessor.ObservableLifeCycleAutomatonProperty
ServiceBusAccessor.ServiceBusMutator<S extends Service<?>>, ServiceBusAccessor.ServiceBusProperty<S extends Service<?>>
Constructor and Description |
---|
ServiceContextImpl(ServiceBus<S> aServiceBus,
ObservableLifeCycleAutomaton aObservableLifeCycleAutomaton)
Constructs the
ServiceContextImpl to be configured with the given
ObservableLifeCycleAutomaton . |
Modifier and Type | Method and Description |
---|---|
ObservableLifeCycleAutomaton |
getObservableLifeCycleAutomaton() |
ServiceBus<S> |
getServiceBus()
Retrieves the
ServiceBus property from the property. |
public ServiceContextImpl(ServiceBus<S> aServiceBus, 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 ObservableLifeCycleAutomaton getObservableLifeCycleAutomaton()
getObservableLifeCycleAutomaton
in interface 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 © 2015. All rights reserved.