org.apache.servicemix.lwcontainer
Class LwContainerBootstrap

java.lang.Object
  extended by org.apache.servicemix.lwcontainer.LwContainerBootstrap
All Implemented Interfaces:
javax.jbi.component.Bootstrap

public class LwContainerBootstrap
extends java.lang.Object
implements javax.jbi.component.Bootstrap

Base class for components bootstrap.

Since:
3.0
Version:
$Revision$
Author:
Guillaume Nodet

Field Summary
protected  javax.jbi.component.InstallationContext context
           
protected  org.apache.commons.logging.Log logger
           
protected  javax.management.ObjectName mbeanName
           
 
Constructor Summary
LwContainerBootstrap()
           
 
Method Summary
 void cleanUp()
           
protected  javax.management.ObjectName createExtensionMBeanName()
           
protected  void doCleanUp()
           
protected  void doInit()
           
protected  void doOnInstall()
           
protected  void doOnUninstall()
           
protected  java.lang.Object getExtensionMBean()
           
 javax.management.ObjectName getExtensionMBeanName()
           
 void init(javax.jbi.component.InstallationContext installContext)
           
 void onInstall()
           
 void onUninstall()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected final transient org.apache.commons.logging.Log logger

context

protected javax.jbi.component.InstallationContext context

mbeanName

protected javax.management.ObjectName mbeanName
Constructor Detail

LwContainerBootstrap

public LwContainerBootstrap()
Method Detail

getExtensionMBeanName

public javax.management.ObjectName getExtensionMBeanName()
Specified by:
getExtensionMBeanName in interface javax.jbi.component.Bootstrap

getExtensionMBean

protected java.lang.Object getExtensionMBean()
                                      throws java.lang.Exception
Throws:
java.lang.Exception

createExtensionMBeanName

protected javax.management.ObjectName createExtensionMBeanName()
                                                        throws java.lang.Exception
Throws:
java.lang.Exception

init

public void init(javax.jbi.component.InstallationContext installContext)
          throws javax.jbi.JBIException
Specified by:
init in interface javax.jbi.component.Bootstrap
Throws:
javax.jbi.JBIException

doInit

protected void doInit()
               throws java.lang.Exception
Throws:
java.lang.Exception

cleanUp

public void cleanUp()
             throws javax.jbi.JBIException
Specified by:
cleanUp in interface javax.jbi.component.Bootstrap
Throws:
javax.jbi.JBIException

doCleanUp

protected void doCleanUp()
                  throws java.lang.Exception
Throws:
java.lang.Exception

onInstall

public void onInstall()
               throws javax.jbi.JBIException
Specified by:
onInstall in interface javax.jbi.component.Bootstrap
Throws:
javax.jbi.JBIException

doOnInstall

protected void doOnInstall()
                    throws java.lang.Exception
Throws:
java.lang.Exception

onUninstall

public void onUninstall()
                 throws javax.jbi.JBIException
Specified by:
onUninstall in interface javax.jbi.component.Bootstrap
Throws:
javax.jbi.JBIException

doOnUninstall

protected void doOnUninstall()
                      throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2005-2011 FuseSource. All Rights Reserved.