org.apache.servicemix.common.xbean
Class AbstractXBeanDeployer
java.lang.Object
org.apache.servicemix.common.AbstractDeployer
org.apache.servicemix.common.xbean.AbstractXBeanDeployer
- All Implemented Interfaces:
- Deployer
- Direct Known Subclasses:
- BaseXBeanDeployer
public class AbstractXBeanDeployer
- extends AbstractDeployer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractXBeanDeployer
public AbstractXBeanDeployer(ServiceMixComponent component)
getXBeanFile
protected String getXBeanFile()
canDeploy
public boolean canDeploy(String serviceUnitName,
String serviceUnitRootPath)
- Description copied from interface:
Deployer
- Check if this deployer is able to handle a given artifact.
- Parameters:
serviceUnitName - the name of the service unitserviceUnitRootPath - the path of the exploded service unit
- Returns:
true if this deployer can handle the given artifact
deploy
public ServiceUnit deploy(String serviceUnitName,
String serviceUnitRootPath)
throws javax.jbi.management.DeploymentException
- Description copied from interface:
Deployer
- Actually deploys the given service unit and build a ServiceUnit object
that contains endpoints.
- Parameters:
serviceUnitName - the name of the service unitserviceUnitRootPath - the path of the exploded service unit
- Returns:
- a service unit containing endpoints
- Throws:
javax.jbi.management.DeploymentException - if an error occurs
initApplicationContext
protected void initApplicationContext(org.springframework.context.support.AbstractXmlApplicationContext applicationContext)
throws Exception
- Throws:
Exception
getServices
protected Collection<Endpoint> getServices(org.springframework.context.support.AbstractXmlApplicationContext applicationContext)
throws Exception
- Throws:
Exception
createApplicationContext
protected org.apache.xbean.spring.context.FileSystemXmlApplicationContext createApplicationContext(String serviceUnitRootPath)
getXmlPreProcessors
protected List getXmlPreProcessors(String serviceUnitRootPath)
getBeanFactoryPostProcessors
protected List getBeanFactoryPostProcessors(String serviceUnitRootPath)
getParentBeansMap
protected Map getParentBeansMap()
Copyright © 2005-2008 Apache Software Foundation. All Rights Reserved.