org.ow2.petals.microkernel.api.container
Interface ServiceAssemblyLifeCycle
- All Superinterfaces:
- javax.jbi.management.LifeCycleMBean
public interface ServiceAssemblyLifeCycle
- extends javax.jbi.management.LifeCycleMBean
The LifeCycle
interface of a service assembly.
- Author:
- Christophe DENEUX - Linagora
Fields inherited from interface javax.jbi.management.LifeCycleMBean |
SHUTDOWN, STARTED, STOPPED, UNKNOWN |
Methods inherited from interface javax.jbi.management.LifeCycleMBean |
getCurrentState, shutDown, start, stop |
COMPONENT_LOGGER_NAME
static final String COMPONENT_LOGGER_NAME
- See Also:
- Constant Field Values
getServiceUnitLifeCycles
List<ServiceUnitLifeCycle> getServiceUnitLifeCycles()
getServiceAssembly
org.ow2.petals.jbi.descriptor.original.generated.ServiceAssembly getServiceAssembly()
setForcedState
void setForcedState(boolean forcedState)
init
void init(org.ow2.petals.jbi.descriptor.original.generated.ServiceAssembly serviceAssembly)
throws javax.jbi.JBIException
- Initialize the life-cycle. This is not the init() step of the life-cycle.
- Parameters:
mbeanName
- name of the MBean for this LifeCycle. In fact, the
DeploymentServiceMBean name is used as there is no
SALifeCycleMBeanlog
-
- Throws:
javax.jbi.JBIException
registerSU
void registerSU(ServiceUnitLifeCycle serviceUnitLifeCycle)
throws javax.jbi.JBIException
- Register a ServiceUnitLifeCycle into a synchronized map of the
ServiceAssemblyLifeCycle
- Parameters:
suName
- name of a service unitserviceUnitLifeCycle
- life cycle of the service unit
- Throws:
javax.jbi.JBIException
unregisterSU
void unregisterSU(ServiceUnitLifeCycle serviceUnitLifeCycle)
- Unregister a ServiceUnitLifeCycle from a synchronized map of the
ServiceAssemblyLifeCycle
- Parameters:
suName
- name of a service unit
isShutdownState
boolean isShutdownState()
isStartedState
boolean isStartedState()
isStoppedState
boolean isStoppedState()
isUnknownState
boolean isUnknownState()
Copyright © 2005-2015 Linagora. All Rights Reserved.