public class AbstractXBeanDeployer extends AbstractDeployer
component, logger| Constructor and Description |
|---|
AbstractXBeanDeployer(ServiceMixComponent component) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canDeploy(java.lang.String serviceUnitName,
java.lang.String serviceUnitRootPath)
Check if this deployer is able to handle a given artifact.
|
protected org.apache.xbean.spring.context.FileSystemXmlApplicationContext |
createApplicationContext(java.lang.String serviceUnitRootPath) |
ServiceUnit |
deploy(java.lang.String serviceUnitName,
java.lang.String serviceUnitRootPath)
Actually deploys the given service unit and build a ServiceUnit object
that contains endpoints.
|
protected java.util.List |
getBeanFactoryPostProcessors(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() |
protected java.util.List |
getXmlPreProcessors(java.lang.String serviceUnitRootPath) |
protected void |
initApplicationContext(org.springframework.context.support.AbstractXmlApplicationContext applicationContext) |
failure, undeploy, validate, validatepublic AbstractXBeanDeployer(ServiceMixComponent component)
protected java.lang.String getXBeanFile()
public boolean canDeploy(java.lang.String serviceUnitName,
java.lang.String serviceUnitRootPath)
DeployerserviceUnitName - the name of the service unitserviceUnitRootPath - the path of the exploded service unittrue if this deployer can handle the given artifactpublic ServiceUnit deploy(java.lang.String serviceUnitName, java.lang.String serviceUnitRootPath) throws javax.jbi.management.DeploymentException
DeployerserviceUnitName - the name of the service unitserviceUnitRootPath - the path of the exploded service unitjavax.jbi.management.DeploymentException - if an error occursprotected void initApplicationContext(org.springframework.context.support.AbstractXmlApplicationContext applicationContext)
throws java.lang.Exception
java.lang.Exceptionprotected java.util.Collection<Endpoint> getServices(org.springframework.context.support.AbstractXmlApplicationContext applicationContext) throws java.lang.Exception
java.lang.Exceptionprotected org.apache.xbean.spring.context.FileSystemXmlApplicationContext createApplicationContext(java.lang.String serviceUnitRootPath)
protected java.util.List getXmlPreProcessors(java.lang.String serviceUnitRootPath)
protected java.util.List getBeanFactoryPostProcessors(java.lang.String serviceUnitRootPath)
protected java.util.Map getParentBeansMap()
Copyright © 2005-2014 FuseSource. All Rights Reserved.