org.apache.servicemix.components.util
Class SpringBootstrap

java.lang.Object
  extended by org.apache.servicemix.components.util.SpringBootstrap
All Implemented Interfaces:
javax.jbi.component.Bootstrap, org.springframework.context.ApplicationContextAware

public class SpringBootstrap
extends Object
implements javax.jbi.component.Bootstrap, org.springframework.context.ApplicationContextAware

A Spring implementation of the Bootstrap

Version:
$Revision: 564374 $

Constructor Summary
SpringBootstrap()
           
 
Method Summary
 void cleanUp()
           
 ObjectName getExtensionMBeanName()
           
 javax.jbi.component.InstallationContext getInstallContext()
           
 void init(javax.jbi.component.InstallationContext ctx)
           
 void onInstall()
           
 void onUninstall()
           
 void setApplicationContext(org.springframework.context.ApplicationContext appCtx)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpringBootstrap

public SpringBootstrap()
Method Detail

init

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

cleanUp

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

getExtensionMBeanName

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

onInstall

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

onUninstall

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

getInstallContext

public javax.jbi.component.InstallationContext getInstallContext()

setApplicationContext

public void setApplicationContext(org.springframework.context.ApplicationContext appCtx)
                           throws org.springframework.beans.BeansException
Specified by:
setApplicationContext in interface org.springframework.context.ApplicationContextAware
Throws:
org.springframework.beans.BeansException


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