public interface PetalsExtensionController
Controller of an extension.
The controller aims to instantiate the Fractal component associated to the extension and binds all interface.
Modifier and Type | Field and Description |
---|---|
static String |
ADMIN_FRACTAL_ITF_NAME
The name of the client interface of the Fractal composite "extension" of
the admin service.
|
static String |
ATOMICDEPLOYMENT_FRACTAL_ITF_NAME
The name of the client interface of the Fractal composite "extension" of
the atomic deployment service.
|
static String |
COMPONENTINSTALLATION_FRACTAL_ITF_NAME
The name of the client interface of the Fractal composite "extension" of
the component installation service.
|
static String |
CONFIGURATION_FRACTAL_ITF_NAME
The name of the client interface of the Fractal composite "extension" of
the configuration service.
|
static String |
CONTAINER_FRACTAL_ITF_NAME
The name of the client interface of the Fractal composite "extension" of the container service.
|
static String |
DEPLOYMENT_FRACTAL_ITF_NAME
The name of the client interface of the Fractal composite "extension" of
the deployment service.
|
static String |
ENDPOINT_DIRECTORY_FRACTAL_ITF_NAME
The name of the client interface of the Fractal composite "extension" of the endpoint directory service.
|
static String |
FRACTAL_SRV_ITF_NAME
Name of the server interface of the Fractal component
|
static String |
INSTALLATION_FRACTAL_ITF_NAME
The name of the client interface of the Fractal composite "extension" of
the installation service.
|
static String |
JMX_FRACTAL_ITF_NAME
The name of the client interface of the Fractal composite "extension" of
the JMX service.
|
static String |
PETALSADMIN_FRACTAL_ITF_NAME
The name of the client interface of the Fractal composite "extension" of the Petals admin service.
|
static String |
SYSTEMSTATE_FRACTAL_ITF_NAME
The name of the client interface of the Fractal composite "extension" of
the system state service.
|
static String |
TOPOLOGY_FRACTAL_ITF_NAME
The name of the client interface of the Fractal composite "extension" of
the topology service.
|
Modifier and Type | Method and Description |
---|---|
org.objectweb.fractal.api.Component |
createFractalComponent(org.objectweb.fractal.api.Component extensionComposite)
Creates the Fractal component associated to the extension and binds all interfaces.
|
boolean |
failsPetalsStartup()
Define what to do when an error occurs during the creation of the extension or when starting it.
|
String[] |
getDependencies() |
String |
getExtensionName() |
String |
getExtensionVersion() |
boolean |
isActivated(ConfigurationService configurationService) |
void |
removeFractalComponent()
Remove a Fractal component associated to the extension and unbinds all
interfaces.
|
static final String CONFIGURATION_FRACTAL_ITF_NAME
static final String ADMIN_FRACTAL_ITF_NAME
static final String CONTAINER_FRACTAL_ITF_NAME
static final String PETALSADMIN_FRACTAL_ITF_NAME
static final String DEPLOYMENT_FRACTAL_ITF_NAME
static final String ATOMICDEPLOYMENT_FRACTAL_ITF_NAME
static final String INSTALLATION_FRACTAL_ITF_NAME
static final String COMPONENTINSTALLATION_FRACTAL_ITF_NAME
static final String JMX_FRACTAL_ITF_NAME
static final String SYSTEMSTATE_FRACTAL_ITF_NAME
static final String TOPOLOGY_FRACTAL_ITF_NAME
static final String ENDPOINT_DIRECTORY_FRACTAL_ITF_NAME
static final String FRACTAL_SRV_ITF_NAME
org.objectweb.fractal.api.Component createFractalComponent(org.objectweb.fractal.api.Component extensionComposite) throws CreationExtensionException
extensionComposite
- The Fractal component associated to the composite containing all extensionsCreationExtensionException
- An error occurs creating the extensionvoid removeFractalComponent()
String getExtensionName()
String getExtensionVersion()
boolean isActivated(ConfigurationService configurationService) throws PetalsExtensionException
configurationService
- The configuration service to get the local container configuration.true
if the extension is enabled from the local container configuration, false
if not.PetalsExtensionException
- An error occursString[] getDependencies()
null
or empty array is no dependency.boolean failsPetalsStartup()
true
to fail and stop the Petals container startup, false
to continue the
Petals container startupCopyright © 2005-2016 Linagora. All Rights Reserved.