org.apache.camel.component.jbi
Class CamelContainerBootstrap

java.lang.Object
  extended by org.apache.camel.component.jbi.CamelContainerBootstrap
All Implemented Interfaces:
javax.jbi.component.Bootstrap

public class CamelContainerBootstrap
extends Object
implements javax.jbi.component.Bootstrap

Base class for components bootstrap.

Version:
$Revision: 426415 $

Field Summary
protected  javax.jbi.component.InstallationContext context
           
protected  Log logger
           
protected  ObjectName mbeanName
           
 
Constructor Summary
CamelContainerBootstrap()
           
 
Method Summary
 void cleanUp()
           
protected  ObjectName createExtensionMBeanName()
           
protected  void doCleanUp()
           
protected  void doInit()
           
protected  void doOnInstall()
           
protected  void doOnUninstall()
           
protected  Object getExtensionMBean()
           
 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 Log logger

context

protected javax.jbi.component.InstallationContext context

mbeanName

protected ObjectName mbeanName
Constructor Detail

CamelContainerBootstrap

public CamelContainerBootstrap()
Method Detail

getExtensionMBeanName

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

getExtensionMBean

protected Object getExtensionMBean()
                            throws Exception
Throws:
Exception

createExtensionMBeanName

protected ObjectName createExtensionMBeanName()
                                       throws Exception
Throws:
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 Exception
Throws:
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 Exception
Throws:
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 Exception
Throws:
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 Exception
Throws:
Exception


Copyright © 2007 Apache Software Foundation. All Rights Reserved.