org.ow2.petals.microkernel.api.extension
Interface PetalsExtensionController


public interface PetalsExtensionController

Controller of an extension.

The controller aims to instantiate the Fractal component associated to the extension and binds all interface.

Author:
Christophe DENEUX - Linagora

Field Summary
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 DEPLOYMENT_FRACTAL_ITF_NAME
          The name of the client interface of the Fractal composite "extension" of the deployment service.
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 REGISTRY_FRACTAL_ITF_NAME
          The name of the client interface of the Fractal composite "extension" of the registry 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.
 
Method Summary
 org.objectweb.fractal.api.Component createFractalComponent(org.objectweb.fractal.api.Component extensionComposite)
          Creates the Fractal component associated to the extension and binds all interfaces.
 String[] getDependencies()
           
 String getExtensionName()
           
 boolean isActivated(Properties properties)
           
 void removeFractalComponent()
          Remove a Fractal component associated to the extension and unbinds all interfaces.
 

Field Detail

CONFIGURATION_FRACTAL_ITF_NAME

static final String CONFIGURATION_FRACTAL_ITF_NAME
The name of the client interface of the Fractal composite "extension" of the configuration service.

See Also:
Constant Field Values

ADMIN_FRACTAL_ITF_NAME

static final String ADMIN_FRACTAL_ITF_NAME
The name of the client interface of the Fractal composite "extension" of the admin service.

See Also:
Constant Field Values

PETALSADMIN_FRACTAL_ITF_NAME

static final String PETALSADMIN_FRACTAL_ITF_NAME
The name of the client interface of the Fractal composite "extension" of the Petals admin service.

See Also:
Constant Field Values

DEPLOYMENT_FRACTAL_ITF_NAME

static final String DEPLOYMENT_FRACTAL_ITF_NAME
The name of the client interface of the Fractal composite "extension" of the deployment service.

See Also:
Constant Field Values

ATOMICDEPLOYMENT_FRACTAL_ITF_NAME

static final String ATOMICDEPLOYMENT_FRACTAL_ITF_NAME
The name of the client interface of the Fractal composite "extension" of the atomic deployment service.

See Also:
Constant Field Values

INSTALLATION_FRACTAL_ITF_NAME

static final String INSTALLATION_FRACTAL_ITF_NAME
The name of the client interface of the Fractal composite "extension" of the installation service.

See Also:
Constant Field Values

COMPONENTINSTALLATION_FRACTAL_ITF_NAME

static final String COMPONENTINSTALLATION_FRACTAL_ITF_NAME
The name of the client interface of the Fractal composite "extension" of the component installation service.

See Also:
Constant Field Values

JMX_FRACTAL_ITF_NAME

static final String JMX_FRACTAL_ITF_NAME
The name of the client interface of the Fractal composite "extension" of the JMX service.

See Also:
Constant Field Values

SYSTEMSTATE_FRACTAL_ITF_NAME

static final String SYSTEMSTATE_FRACTAL_ITF_NAME
The name of the client interface of the Fractal composite "extension" of the system state service.

See Also:
Constant Field Values

TOPOLOGY_FRACTAL_ITF_NAME

static final String TOPOLOGY_FRACTAL_ITF_NAME
The name of the client interface of the Fractal composite "extension" of the topology service.

See Also:
Constant Field Values

REGISTRY_FRACTAL_ITF_NAME

static final String REGISTRY_FRACTAL_ITF_NAME
The name of the client interface of the Fractal composite "extension" of the registry service.

See Also:
Constant Field Values
Method Detail

createFractalComponent

org.objectweb.fractal.api.Component createFractalComponent(org.objectweb.fractal.api.Component extensionComposite)
                                                           throws CreationExtensionException
Creates the Fractal component associated to the extension and binds all interfaces.

Parameters:
extensionComposite - The Fractal component associated to the composite containing all extensions
Returns:
The Fractal component.
Throws:
CreationExtensionException - An error occurs creating the extension

removeFractalComponent

void removeFractalComponent()
Remove a Fractal component associated to the extension and unbinds all interfaces.


getExtensionName

String getExtensionName()
Returns:
The name of the extension

isActivated

boolean isActivated(Properties properties)
Parameters:
properties - Properties of the local container configuration.
Returns:
true if the extension is enabled from the local container configuration, false if not.

getDependencies

String[] getDependencies()
Returns:
The dependencies on other extensions of the current extension. null or empty array is no dependency.


Copyright © 2005-2015 Linagora. All Rights Reserved.