FileDocCategorySizeDatePackage
JavaEEServiceEngineBootstrap.javaAPI DocGlassfish v2 API4654Fri May 04 22:30:28 BST 2007com.sun.enterprise.jbi.serviceengine.core

JavaEEServiceEngineBootstrap

public class JavaEEServiceEngineBootstrap extends Object implements javax.jbi.component.Bootstrap
Bootstrap class for installation purpose
author
Manisha Umbarje

Fields Summary
private javax.jbi.component.InstallationContext
context
This is the installation context given by the framework.
Constructors Summary
public JavaEEServiceEngineBootstrap()
Creates a new instance of JavaEEServiceEngineBootstrap

    
Methods Summary
public voidcleanUp()
Cleans up any resources allocated by the bootstrap implementation, including deregistration of the extension MBean, if applicable. This method will be called after the onInstall() or onUninstall() method is called, whether it succeeds or fails.

throws
javax.jbi.JBIException when cleanup processing fails to complete successfully.

    
public javax.management.ObjectNamegetExtensionMBeanName()
Get the JMX ObjectName for the optional installation configuration MBean for this BC. If there is none, the value is null.

return
ObjectName the JMX object name of the installation configuration MBean or null if there is no MBean.

        return null;
    
public voidinit(javax.jbi.component.InstallationContext installContext)
Called to initialize the BC bootstrap.

param
installContext is the context containing information from the install command and from the BC jar JavaEEServiceEngine.
throws
javax.jbi.JBIException when there is an error requiring that the installation be terminated.

        context = installContext;
    
public voidonInstall()
Called at the beginning of installation of JavaEEServiceEngine Binding . For this JavaEEServiceEngine, all the required installation tasks have been taken care by the InstallationService.

throws
javax.jbi.JBIException when there is an error requiring that the installation be terminated.

    
public voidonUninstall()
Called at the beginning of uninstallation of JavaEEServiceEngineBinding . For this JavaEEServiceEngine, all the required uninstallation tasks have been taken care of by the InstallationService

throws
javax.jbi.JBIException when there is an error requiring that the uninstallation be terminated.