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
Direct Known Subclasses:
OsgiCamelJbiComponent.OsgiCamelSpringDeployer

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)
           
 ServiceUnit deploy(java.lang.String suName, java.lang.String serviceUnitRootPath)
           
protected  java.util.Map getParentBeansMap()
           
protected  java.util.Collection<Endpoint> getServices(org.springframework.context.support.AbstractXmlApplicationContext applicationContext)
           
protected  java.lang.String getXBeanFile()
           
 void undeploy(ServiceUnit su)
           
 
Methods inherited from class org.apache.servicemix.common.xbean.AbstractXBeanDeployer
canDeploy, createApplicationContext, getBeanFactoryPostProcessors, getXmlPreProcessors, initApplicationContext
 
Methods inherited from class org.apache.servicemix.common.AbstractDeployer
failure, validate, 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 java.lang.String getXBeanFile()
Overrides:
getXBeanFile in class AbstractXBeanDeployer

undeploy

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

deploy

public ServiceUnit deploy(java.lang.String suName,
                          java.lang.String serviceUnitRootPath)
                   throws javax.jbi.management.DeploymentException
Specified by:
deploy in interface Deployer
Overrides:
deploy in class AbstractXBeanDeployer
Throws:
javax.jbi.management.DeploymentException

addService

public void addService(CamelProviderEndpoint endpoint)

getServices

protected java.util.Collection<Endpoint> getServices(org.springframework.context.support.AbstractXmlApplicationContext applicationContext)
                                              throws java.lang.Exception
Overrides:
getServices in class AbstractXBeanDeployer
Throws:
java.lang.Exception

getParentBeansMap

protected java.util.Map getParentBeansMap()
Overrides:
getParentBeansMap in class AbstractXBeanDeployer


Copyright © 2005-2011 FuseSource. All Rights Reserved.