org.jboss.deployers.vfs.spi.deployer
Class SchemaResolverDeployer<T>

java.lang.Object
  extended by org.jboss.deployers.spi.deployer.helpers.AbstractDeployer
      extended by org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployer
          extended by org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput<T>
              extended by org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer<T>
                  extended by org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer<T>
Type Parameters:
T - the expected type
All Implemented Interfaces:
org.jboss.deployers.spi.deployer.Deployer, org.jboss.deployers.spi.deployer.managed.ManagedObjectCreator, org.jboss.deployers.spi.Ordered

public abstract class SchemaResolverDeployer<T>
extends AbstractVFSParsingDeployer<T>

SchemaResolverDeployer.

Version:
$Revision 1.1 $
Author:
Adrian Brock, Scott.Stark@jboss.org

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
SchemaResolverDeployer(Class<T> output)
          Create a new SchemaResolverDeployer.
 
Method Summary
 boolean isUseSchemaValidation()
          Get the useSchemaValidation.
 boolean isUseValidation()
          Get the useValidation.
protected  T parse(VFSDeploymentUnit unit, org.jboss.virtual.VirtualFile file, T root)
          Parse a deployment
 void setUseSchemaValidation(boolean useSchemaValidation)
          Set the useSchemaValidation.
 void setUseValidation(boolean useValidation)
          Set the useValidation.
 
Methods inherited from class org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer
accepts, accepts, init, parse, parse
 
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

SchemaResolverDeployer

public SchemaResolverDeployer(Class<T> output)
Create a new SchemaResolverDeployer.

Parameters:
output - the output
Throws:
IllegalArgumentException - for a null output
Method Detail

isUseSchemaValidation

public boolean isUseSchemaValidation()
Get the useSchemaValidation.

Returns:
the useSchemaValidation.

setUseSchemaValidation

public void setUseSchemaValidation(boolean useSchemaValidation)
Set the useSchemaValidation.

Parameters:
useSchemaValidation - the useSchemaValidation.

isUseValidation

public boolean isUseValidation()
Get the useValidation.

Returns:
the useValidation.

setUseValidation

public void setUseValidation(boolean useValidation)
Set the useValidation.

Parameters:
useValidation - the useValidation.

parse

protected T parse(VFSDeploymentUnit unit,
                  org.jboss.virtual.VirtualFile file,
                  T root)
           throws Exception
Description copied from class: AbstractVFSParsingDeployer
Parse a deployment

Specified by:
parse in class AbstractVFSParsingDeployer<T>
Parameters:
unit - the deployment unit
file - the metadata file
root - - possibly null pre-existing root
Returns:
the metadata
Throws:
Exception - for any error


Copyright ? 2007 JBoss Inc.. All Rights Reserved.