public interface ComponentContextCommunication
The ComponentContext needs to access some services such as the Router and so on. Those services are implemented by Fractal components, that may dynamically change during the runtime.
Thus, the ComponentContext can not reference directly those services. Each time the ComponentContext uses those
services, it retrieves through this interface the good reference of the service. This interface is implemented by the
fractal component Installer
.
org.ow2.petals.microkernel.container.lifecycle.Installer
,
org.ow2.petals.microkernel.container.lifecycle.ComponentLifeCycle
Modifier and Type | Method and Description |
---|---|
AdminService |
getAdminService()
Get the Admin service.
|
ConfigurationService |
getConfigurationService()
Get the Configuration service.
|
ContainerService |
getContainerService()
Get the Container service.
|
EndpointDirectoryService |
getEndpointDirectory()
Get the endpoint directory service.
|
String |
getInstallationRoot()
The installation directory of the component.
|
org.ow2.petals.jbi.descriptor.original.generated.Jbi |
getJBIDescriptor()
Gets the JBI Descriptor.
|
JNDIService |
getJNDIService()
Get the JNDI service.
|
RouterService |
getRouterService()
Get the Router service.
|
String |
getWorkspaceRoot()
The working directory for the component.
|
boolean |
isRecovery() |
org.ow2.petals.jbi.descriptor.original.generated.Jbi getJBIDescriptor()
String getInstallationRoot()
String getWorkspaceRoot()
AdminService getAdminService()
ContainerService getContainerService()
ConfigurationService getConfigurationService()
JNDIService getJNDIService()
EndpointDirectoryService getEndpointDirectory()
RouterService getRouterService()
boolean isRecovery()
true
if we are in the middle of a recoveryCopyright © 2005-2016 Linagora. All Rights Reserved.