|
||||||||||
| 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.AbstractParsingDeployer
org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput<T>
org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer<T>
T - the type of outputpublic abstract class AbstractVFSParsingDeployer<T>
AbstractVFSParsingDeployer.
| 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 class org.jboss.deployers.spi.deployer.helpers.AbstractDeployer |
|---|
log |
| Fields inherited from interface org.jboss.deployers.spi.Ordered |
|---|
COMPARATOR |
| Constructor Summary | |
|---|---|
AbstractVFSParsingDeployer(Class<T> output)
Create a new AbstractVFSParsingDeployer. |
|
| Method Summary | |
|---|---|
protected boolean |
accepts(org.jboss.deployers.structure.spi.DeploymentUnit unit)
|
protected boolean |
accepts(VFSDeploymentUnit unit)
Callback to do prechecking on the deployment |
protected void |
init(VFSDeploymentUnit unit,
T metaData,
org.jboss.virtual.VirtualFile file)
Initialise the metadata |
protected T |
parse(org.jboss.deployers.structure.spi.DeploymentUnit unit,
String name,
String suffix,
T root)
|
protected T |
parse(org.jboss.deployers.structure.spi.DeploymentUnit unit,
String name,
T root)
|
protected abstract T |
parse(VFSDeploymentUnit unit,
org.jboss.virtual.VirtualFile file,
T root)
Parse a deployment |
| Methods inherited from class org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput |
|---|
allowsReparse, build, createMetaData, createMetaData, deploy, getMetaData, getName, getOutput, getSuffix, isBuildManagedObject, isIncludeDeploymentFile, setBuildManagedObject, setIncludeDeploymentFile, setName, setSuffix |
| Methods inherited from class org.jboss.deployers.spi.deployer.helpers.AbstractDeployer |
|---|
addInput, addInput, addOutput, addOutput, getInput, getInputs, getOutputs, getRelativeOrder, getStage, getType, isAllInputs, isComponentsOnly, isParentFirst, isTopLevelOnly, isWantComponents, setAllInputs, setComponentsOnly, setInput, setInputs, setInputs, setInputs, setOutput, setOutputs, setOutputs, setOutputs, setParentFirst, setRelativeOrder, setStage, setTopLevelOnly, setType, setWantComponents, undeploy |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractVFSParsingDeployer(Class<T> output)
output - the type of output
IllegalArgumentException - for null output| Method Detail |
|---|
protected boolean accepts(VFSDeploymentUnit unit)
throws org.jboss.deployers.spi.DeploymentException
unit - the unit
org.jboss.deployers.spi.DeploymentException - for any error
protected boolean accepts(org.jboss.deployers.structure.spi.DeploymentUnit unit)
throws org.jboss.deployers.spi.DeploymentException
accepts in class org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput<T>org.jboss.deployers.spi.DeploymentException
protected T parse(org.jboss.deployers.structure.spi.DeploymentUnit unit,
String name,
T root)
throws Exception
parse in class org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput<T>Exception
protected T parse(org.jboss.deployers.structure.spi.DeploymentUnit unit,
String name,
String suffix,
T root)
throws Exception
parse in class org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput<T>Exception
protected abstract T parse(VFSDeploymentUnit unit,
org.jboss.virtual.VirtualFile file,
T root)
throws Exception
unit - the deployment unitfile - the metadata fileroot - - possibly null pre-existing root
Exception - for any error
protected void init(VFSDeploymentUnit unit,
T metaData,
org.jboss.virtual.VirtualFile file)
throws Exception
unit - the unitmetaData - the metadatafile - the metadata file
Exception - for any error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||