|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.deployers.spi.deployer.helpers.AbstractDeployer
org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer
org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer<T>
org.jboss.deployers.vfs.spi.deployer.AbstractSimpleVFSRealDeployer<EsbMetaData>
org.jboss.soa.esb.listeners.deployers.mc.EsbDeployer
public class EsbDeployer
EsbDeployer takes care of the deployment of an EsbDeployment.
EsbDeployment. The MicroContainer will take care of the actual
creation and starting of the deployment using it's lifecycle callbacks.
Example configuration:
<bean name="EsbDeployer" class="org.jboss.soa.esb.listeners.deployers.mc.EsbDeployer">
<property name="esbBeanPrefix">jboss.esb</property>
<property name="defaultDependencies">
<list elementClass="java.lang.String">
<value>jboss.esb:service=ESBRegistry</value>
<value>jboss.esb:service=JuddiRMI</value>
</list>
</property>
</bean>
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.jboss.deployers.spi.Ordered |
|---|
org.jboss.deployers.spi.Ordered.OrderedComparator |
| Field Summary |
|---|
| Fields inherited from interface org.jboss.deployers.spi.Ordered |
|---|
COMPARATOR |
| Constructor Summary | |
|---|---|
EsbDeployer()
No args constructor. |
|
| Method Summary | |
|---|---|
void |
deploy(org.jboss.deployers.vfs.spi.structure.VFSDeploymentUnit deploymentUnit,
EsbMetaData esbMetaData)
Creates an BeanMetaData instance that describes the JBossESB
deployment. |
java.util.List<java.lang.String> |
getDefaultDependencies()
|
java.lang.String |
getEsbBeanPrefix()
|
void |
setDefaultDependencies(java.util.List<java.lang.String> deps)
|
void |
setEsbBeanPrefix(java.lang.String prefix)
|
void |
setMainDeployer(org.jboss.deployers.client.spi.DeployerClient mainDeployer)
|
void |
setWarFilesDir(java.lang.String dir)
Sets the directory that will be used for generating ESWS wars. |
| Methods inherited from class org.jboss.deployers.vfs.spi.deployer.AbstractSimpleVFSRealDeployer |
|---|
deploy, undeploy, undeploy |
| Methods inherited from class org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer |
|---|
getInput, internalDeploy, internalUndeploy |
| Methods inherited from class org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer |
|---|
addControllerContextName, deploy, isControllerContextNameCandidate, isUseUnitName, removeControllerContextName, setUseUnitName, undeploy |
| Methods inherited from class org.jboss.deployers.spi.deployer.helpers.AbstractDeployer |
|---|
addInput, addInput, addOutput, addOutput, getInputs, getOutput, getOutputs, getRelativeOrder, getStage, isAllInputs, isComponentsOnly, isParentFirst, isTopLevelOnly, isWantComponents, setAllInputs, setComponentsOnly, setInput, setInputs, setInputs, setInputs, setOutput, setOutputs, setOutputs, setOutputs, setParentFirst, setRelativeOrder, setStage, setTopLevelOnly, setWantComponents |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EsbDeployer()
| Method Detail |
|---|
public void setMainDeployer(org.jboss.deployers.client.spi.DeployerClient mainDeployer)
public void setWarFilesDir(java.lang.String dir)
dir - The directory to be used.
public final void deploy(org.jboss.deployers.vfs.spi.structure.VFSDeploymentUnit deploymentUnit,
EsbMetaData esbMetaData)
throws org.jboss.deployers.spi.DeploymentException
BeanMetaData instance that describes the JBossESB
deployment. The BeanMetaData is created using the information from the
EsbMetaData object, such as the contents of jboss-esb.xml, archive name etc.
The BeanMeatData is then attached to the Microcontainers deployment unit
and will be picked up by the BeanMetaDataDeployer.
deploy in class org.jboss.deployers.vfs.spi.deployer.AbstractSimpleVFSRealDeployer<EsbMetaData>deploymentUnit - The deployment unit to deploy.esbMetaData - The ESB MetaData that is associated with the deployment unit.
org.jboss.deployers.spi.DeploymentExceptionpublic void setEsbBeanPrefix(java.lang.String prefix)
public java.lang.String getEsbBeanPrefix()
public void setDefaultDependencies(java.util.List<java.lang.String> deps)
public java.util.List<java.lang.String> getDefaultDependencies()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||