S
- The type to be used for the Service
.org.refcodes.component.ext.observer.ObservableLifeCycleAutomatonAccessor
, ServiceBusAccessor<S>
, ServiceContext<S>
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 | Description |
---|---|
ServiceContextImpl(ServiceBus<S> aServiceBus,
org.refcodes.component.ext.observer.ObservableLifeCycleStatusAutomaton aObservableLifeCycleAutomaton) |
Constructs the
ServiceContextImpl to be configured with the given
ObservableLifeCycleStatusAutomaton . |
Modifier and Type | Method | Description |
---|---|---|
org.refcodes.component.ext.observer.ObservableLifeCycleStatusAutomaton |
getObservableLifeCycleAutomaton() |
|
ServiceBus<S> |
getServiceBus() |
Retrieves the
ServiceBus property from the property. |
public ServiceContextImpl(ServiceBus<S> aServiceBus, org.refcodes.component.ext.observer.ObservableLifeCycleStatusAutomaton aObservableLifeCycleAutomaton)
ServiceContextImpl
to be configured with the given
ObservableLifeCycleStatusAutomaton
.aServiceBus
- The ServiceBus
with which to construct the
ServiceContextImpl
.aObservableLifeCycleAutomaton
- The
ObservableLifeCycleStatusAutomaton
with which to construct
the ServiceContextImpl
.public org.refcodes.component.ext.observer.ObservableLifeCycleStatusAutomaton getObservableLifeCycleAutomaton()
getObservableLifeCycleAutomaton
in interface org.refcodes.component.ext.observer.ObservableLifeCycleAutomatonAccessor
public ServiceBus<S> getServiceBus()
ServiceBus
property from the property.getServiceBus
in interface ServiceBusAccessor<S extends Service<?>>
ServiceBus
property stored by the property.Copyright © 2018. All rights reserved.