org.apache.servicemix.wsn.component
Class WSNBootstrap

java.lang.Object
  extended by org.apache.servicemix.wsn.component.WSNBootstrap
All Implemented Interfaces:
Bootstrap

public class WSNBootstrap
extends Object
implements Bootstrap

Base class for components bootstrap.

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

Field Summary
protected  InstallationContext context
           
protected  ObjectName mbeanName
           
 
Constructor Summary
WSNBootstrap()
           
 
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(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

context

protected InstallationContext context

mbeanName

protected ObjectName mbeanName
Constructor Detail

WSNBootstrap

public WSNBootstrap()
Method Detail

getExtensionMBeanName

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

getExtensionMBean

protected Object getExtensionMBean()
                            throws Exception
Throws:
Exception

createExtensionMBeanName

protected ObjectName createExtensionMBeanName()
                                       throws Exception
Throws:
Exception

init

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

doInit

protected void doInit()
               throws Exception
Throws:
Exception

cleanUp

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

doCleanUp

protected void doCleanUp()
                  throws Exception
Throws:
Exception

onInstall

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

doOnInstall

protected void doOnInstall()
                    throws Exception
Throws:
Exception

onUninstall

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

doOnUninstall

protected void doOnUninstall()
                      throws Exception
Throws:
Exception


Copyright © 2005-2008 Apache Software Foundation. All Rights Reserved.