public interface ServiceAssemblyLifeCycle
LifeCycle
interface of a service assembly.Modifier and Type | Field and Description |
---|---|
static String |
COMPONENT_LOGGER_NAME |
static String |
FRACTAL_SRV_ITF_NAME
Name of the server interface of the Fractal component associated to the JBI service assembly life cycle
|
Modifier and Type | Method and Description |
---|---|
String |
getCurrentState() |
org.ow2.petals.jbi.descriptor.original.generated.ServiceAssembly |
getServiceAssembly() |
Collection<ServiceUnitLifeCycle> |
getServiceUnitLifeCycles() |
List<String> |
init()
Used by recovery only
|
void |
init(org.ow2.petals.jbi.descriptor.original.generated.ServiceAssembly serviceAssembly)
Initialize the life-cycle.
|
boolean |
isShutdownState() |
boolean |
isStartedState() |
boolean |
isStoppedState() |
void |
registerSU(ServiceUnitLifeCycle serviceUnitLifeCycle)
Register a ServiceUnitLifeCycle into a synchronized map of the
ServiceAssemblyLifeCycle
|
void |
shutDown() |
List<String> |
start() |
void |
stop() |
void |
unregisterSU(ServiceUnitLifeCycle serviceUnitLifeCycle)
Unregister a ServiceUnitLifeCycle from a synchronized map of the
ServiceAssemblyLifeCycle
|
static final String COMPONENT_LOGGER_NAME
static final String FRACTAL_SRV_ITF_NAME
Collection<ServiceUnitLifeCycle> getServiceUnitLifeCycles()
org.ow2.petals.jbi.descriptor.original.generated.ServiceAssembly getServiceAssembly()
void init(org.ow2.petals.jbi.descriptor.original.generated.ServiceAssembly serviceAssembly) throws javax.jbi.JBIException
mbeanName
- name of the MBean for this LifeCycle. In fact, the
DeploymentServiceMBean name is used as there is no
SALifeCycleMBeanlog
- javax.jbi.JBIException
List<String> init() throws javax.jbi.JBIException
javax.jbi.JBIException
void shutDown() throws javax.jbi.JBIException
javax.jbi.JBIException
void stop() throws javax.jbi.JBIException
javax.jbi.JBIException
void registerSU(ServiceUnitLifeCycle serviceUnitLifeCycle) throws javax.jbi.JBIException
suName
- name of a service unitserviceUnitLifeCycle
- life cycle of the service unitjavax.jbi.JBIException
void unregisterSU(ServiceUnitLifeCycle serviceUnitLifeCycle)
suName
- name of a service unitboolean isShutdownState()
boolean isStartedState()
boolean isStoppedState()
String getCurrentState()
DeploymentServiceMBean
.Copyright © 2005-2016 Linagora. All Rights Reserved.