|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.deployers.spi.deployer.helpers.AbstractDeployer org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployer org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput<T> org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer<EsbMetaData> org.jboss.soa.esb.listeners.deployers.mc.EsbConfigParser
public class EsbConfigParser
EsbConfigParser is a Microcontainer deployer that picks up jboss-esb.xml files, parses the content
and produces an EsbMetaData
instance.
<bean name="EsbConfigParser" class="org.jboss.soa.esb.listeners.deployers.mc.EsbConfigParser">
<property name="esbDeploymentPrefix">jboss.esb:deployment=</property>
<property name="warDeploymentPrefix">jboss.web.deployment:war=</property>
<property name="actionArtifactsFile">/actionArtifactMap.properties</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 | |
---|---|
EsbConfigParser()
Sole constructor that performs the following steps: EsbMetaData .
Sets the suffix to EsbConfigParser#ESB_FILE_SUFFIX .
Sets the jar extension to EsbConfigParser#ESB_ARCHIVE_SUFFIX .
Sets this deployers deployment stage to DeploymentStages.PARSE ./li>
|
Method Summary | |
---|---|
void |
create()
Create will load the action artifacts file configured. |
protected EsbMetaData |
parse(org.jboss.deployers.vfs.spi.structure.VFSDeploymentUnit deploymentUnit,
org.jboss.virtual.VirtualFile file,
EsbMetaData metadata)
Will parse the VirtualFile representing the deployment and parse the esb configuration xml and extract information from the archive to create an EsbMetaData instance that will be returned. |
void |
setActionArtifactsFile(java.lang.String actionArtifactsFile)
|
void |
setEsbArtifactName(java.lang.String esbArtifactName)
|
void |
setEsbDeploymentPrefix(java.lang.String deploymentPrefix)
|
void |
setWarDeploymentPrefix(java.lang.String deploymentPrefix)
|
Methods inherited from class org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer |
---|
accepts, accepts, allowsMultipleFiles, getAltMappings, getMetadataFile, handleMultipleFiles, init, isDeployable, matchFileToClass, mergeFiles, openStreamAndValidate, parse, parse, parse, parse, parseAndInit, setAllowMultipleFiles |
Methods inherited from class org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput |
---|
allowsReparse, createMetaData, createMetaData, createMetaData, createMetaData, deploy, getAttachmentKey, getJarExtension, getMetaData, getName, getNames, getOutput, getSuffix, isBuildManagedObject, isIncludeDeploymentFile, setAttachmentKey, setBuildManagedObject, setIncludeDeploymentFile, setJarExtension, setName, setNames, setSuffix |
Methods inherited from class org.jboss.deployers.spi.deployer.helpers.AbstractDeployer |
---|
addInput, addInput, addOutput, addOutput, getInput, getInputs, getOutputs, getRelativeOrder, getStage, isAllInputs, isComponentsOnly, isParentFirst, isTopLevelOnly, isWantComponents, setAllInputs, setComponentsOnly, setInput, setInputs, setInputs, setInputs, setOutput, setOutputs, setOutputs, setOutputs, setParentFirst, setRelativeOrder, setStage, setTopLevelOnly, setWantComponents, undeploy |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EsbConfigParser()
EsbMetaData
.EsbConfigParser#ESB_FILE_SUFFIX
.EsbConfigParser#ESB_ARCHIVE_SUFFIX
.DeploymentStages.PARSE
./li>
Method Detail |
---|
public void create() throws java.lang.Exception
java.lang.Exception
- If the action artifacts files cannot be loaded.protected EsbMetaData parse(org.jboss.deployers.vfs.spi.structure.VFSDeploymentUnit deploymentUnit, org.jboss.virtual.VirtualFile file, EsbMetaData metadata) throws java.lang.Exception
EsbMetaData
instance that will be returned.
parse
in class org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer<EsbMetaData>
java.lang.Exception
public void setActionArtifactsFile(java.lang.String actionArtifactsFile)
public void setEsbDeploymentPrefix(java.lang.String deploymentPrefix)
public void setEsbArtifactName(java.lang.String esbArtifactName)
public void setWarDeploymentPrefix(java.lang.String deploymentPrefix)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |