org.ow2.petals.microkernel.api.container
Interface Installer

All Superinterfaces:
ComponentContextCommunication, javax.jbi.management.InstallerMBean

public interface Installer
extends javax.jbi.management.InstallerMBean, ComponentContextCommunication

Author:
Roland Naudin - EBM WebSourcing, Christophe DENEUX - EBM Websourcing

Field Summary
static String COMPONENT_LOGGER_NAME
           
static String INSTALLED
           
static String UNINSTALLED
           
 
Method Summary
 javax.jbi.component.Component getComponent()
           
 String getComponentName()
           
 void init(Context ctxt)
          init the installer.
 void initBootstrap(boolean install)
          Initialize the bootstrap of the JBI component.
 void shutdown()
          shutdown the installer freeing its resources
 
Methods inherited from interface javax.jbi.management.InstallerMBean
getInstallerConfigurationMBean, getInstallRoot, install, isInstalled, uninstall
 
Methods inherited from interface org.ow2.petals.microkernel.api.container.ComponentContextCommunication
getAddress, getAdminService, getEndpointRegistry, getInitialContext, getInstallationRoot, getJBIDescriptor, getLogger, getRouterService, getTransactionManagerService, getWorkspaceRoot
 

Field Detail

COMPONENT_LOGGER_NAME

static final String COMPONENT_LOGGER_NAME
See Also:
Constant Field Values

INSTALLED

static final String INSTALLED
See Also:
Constant Field Values

UNINSTALLED

static final String UNINSTALLED
See Also:
Constant Field Values
Method Detail

init

void init(Context ctxt)
          throws IOException,
                 javax.jbi.JBIException,
                 NamingException,
                 org.objectweb.fractal.api.NoSuchInterfaceException
init the installer.

Parameters:
ctxt - the context (installation context)
Throws:
org.ow2.petals.basisapi.exception.PetalsException - : impossible initialization
javax.jbi.JBIException - : impossible initialization
IOException
NamingException
org.objectweb.fractal.api.NoSuchInterfaceException

initBootstrap

void initBootstrap(boolean install)
                   throws javax.jbi.JBIException
Initialize the bootstrap of the JBI component. Invoked when loading a new installer of a JBI component.

Parameters:
install -
Throws:
javax.jbi.JBIException

shutdown

void shutdown()
              throws javax.jbi.JBIException
shutdown the installer freeing its resources

Throws:
javax.jbi.JBIException

getComponent

javax.jbi.component.Component getComponent()
Returns:
The JBI component associated to this installer

getComponentName

String getComponentName()
Returns:
The JBI identifier of the component associated to this installer


Copyright © 2005-2015 Linagora. All Rights Reserved.