org.apache.servicemix.camel
Class CamelSpringDeployer

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

public class CamelSpringDeployer
extends 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(CamelProviderEndpoint endpoint)
           
protected  org.springframework.context.ApplicationContext createParentApplicationContext(List xmlProcessors)
          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()
           
 ServiceUnit deploy(String suName, String serviceUnitRootPath)
           
protected  List getServices(org.apache.xbean.kernel.Kernel kernel)
           
protected  String getXBeanFile()
           
 void undeploy(ServiceUnit su)
           
 
Methods inherited from class org.apache.servicemix.common.xbean.AbstractXBeanDeployer
canDeploy, getBeanFactoryPostProcessors, getXmlPreProcessors
 
Methods inherited from class org.apache.servicemix.common.AbstractDeployer
failure, 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 AbstractXBeanDeployer

undeploy

public void undeploy(ServiceUnit su)
              throws DeploymentException
Specified by:
undeploy in interface Deployer
Overrides:
undeploy in class AbstractDeployer
Throws:
DeploymentException

deploy

public ServiceUnit deploy(String suName,
                          String serviceUnitRootPath)
                   throws DeploymentException
Specified by:
deploy in interface Deployer
Overrides:
deploy in class AbstractXBeanDeployer
Throws:
DeploymentException

addService

public void addService(CamelProviderEndpoint endpoint)

getServices

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

createSpringLoader

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

createParentApplicationContext

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



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