org.apache.camel.component.jbi
Class CamelSpringDeployer

java.lang.Object
  extended by org.apache.servicemix.common.AbstractDeployer
      extended by org.apache.servicemix.common.xbean.AbstractXBeanDeployer
          extended by org.apache.camel.component.jbi.CamelSpringDeployer
All Implemented Interfaces:
org.apache.servicemix.common.Deployer

public class CamelSpringDeployer
extends org.apache.servicemix.common.xbean.AbstractXBeanDeployer

A deployer of the spring XML file

Version:
$Revision: 1.1 $

Field Summary
 
Fields inherited from class org.apache.servicemix.common.AbstractDeployer
logger
 
Constructor Summary
CamelSpringDeployer(CamelJbiComponent component)
           
 
Method Summary
 void addService(CamelJbiEndpoint endpoint)
           
protected  org.springframework.context.ApplicationContext createParentApplicationContext()
          Returns the parent application context which can be used to auto-wire any JBI based components using the jbi prefix
protected  org.apache.xbean.server.spring.loader.SpringLoader createSpringLoader()
           
 org.apache.servicemix.common.ServiceUnit deploy(String serviceUnitName, String serviceUnitRootPath)
           
protected  List getServices(org.apache.xbean.kernel.Kernel kernel)
           
protected  String getXBeanFile()
           
 
Methods inherited from class org.apache.servicemix.common.xbean.AbstractXBeanDeployer
canDeploy, getBeanFactoryPostProcessors, getXmlPreProcessors
 
Methods inherited from class org.apache.servicemix.common.AbstractDeployer
failure, undeploy, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CamelSpringDeployer

public CamelSpringDeployer(CamelJbiComponent component)
Method Detail

getXBeanFile

protected String getXBeanFile()
Overrides:
getXBeanFile in class org.apache.servicemix.common.xbean.AbstractXBeanDeployer

deploy

public org.apache.servicemix.common.ServiceUnit deploy(String serviceUnitName,
                                                       String serviceUnitRootPath)
                                                throws javax.jbi.management.DeploymentException
Specified by:
deploy in interface org.apache.servicemix.common.Deployer
Overrides:
deploy in class org.apache.servicemix.common.xbean.AbstractXBeanDeployer
Throws:
javax.jbi.management.DeploymentException

addService

public void addService(CamelJbiEndpoint endpoint)

getServices

protected List getServices(org.apache.xbean.kernel.Kernel kernel)
Overrides:
getServices in class org.apache.servicemix.common.xbean.AbstractXBeanDeployer

createSpringLoader

protected org.apache.xbean.server.spring.loader.SpringLoader createSpringLoader()
Overrides:
createSpringLoader in class org.apache.servicemix.common.xbean.AbstractXBeanDeployer

createParentApplicationContext

protected org.springframework.context.ApplicationContext createParentApplicationContext()
Returns the parent application context which can be used to auto-wire any JBI based components using the jbi prefix



Copyright © 2007 Apache Software Foundation. All Rights Reserved.