org.apache.servicemix.common
Class BaseBootstrap

java.lang.Object
  extended by org.apache.servicemix.common.BaseBootstrap
All Implemented Interfaces:
Bootstrap

Deprecated.

public class BaseBootstrap
extends Object
implements Bootstrap

Base class for components bootstrap. Due to classloading mechanism in JBI, Shared Libraries are not available at bootstrap time, so this class should be copied in your own component and modified directly, instead of inheriting it.

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

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

Field Detail

logger

protected final transient Log logger
Deprecated. 

context

protected InstallationContext context
Deprecated. 

mbeanName

protected ObjectName mbeanName
Deprecated. 
Constructor Detail

BaseBootstrap

public BaseBootstrap()
Deprecated. 
Method Detail

getExtensionMBeanName

public ObjectName getExtensionMBeanName()
Deprecated. 
Specified by:
getExtensionMBeanName in interface Bootstrap

getExtensionMBean

protected Object getExtensionMBean()
                            throws Exception
Deprecated. 
Throws:
Exception

createExtensionMBeanName

protected ObjectName createExtensionMBeanName()
                                       throws Exception
Deprecated. 
Throws:
Exception

init

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

doInit

protected void doInit()
               throws Exception
Deprecated. 
Throws:
Exception

cleanUp

public void cleanUp()
             throws JBIException
Deprecated. 
Specified by:
cleanUp in interface Bootstrap
Throws:
JBIException

doCleanUp

protected void doCleanUp()
                  throws Exception
Deprecated. 
Throws:
Exception

onInstall

public void onInstall()
               throws JBIException
Deprecated. 
Specified by:
onInstall in interface Bootstrap
Throws:
JBIException

doOnInstall

protected void doOnInstall()
                    throws Exception
Deprecated. 
Throws:
Exception

onUninstall

public void onUninstall()
                 throws JBIException
Deprecated. 
Specified by:
onUninstall in interface Bootstrap
Throws:
JBIException

doOnUninstall

protected void doOnUninstall()
                      throws Exception
Deprecated. 
Throws:
Exception


Copyright © 2005-2008. All Rights Reserved.