org.jboss.deployers.vfs.spi.deployer
Class MultipleJBossXBDeployer<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.MultipleVFSParsingDeployer<T>
                      extended by org.jboss.deployers.vfs.spi.deployer.MultipleJBossXBDeployer<T>
Type Parameters:
T - the expected type
All Implemented Interfaces:
Deployer, JarExtensionProvider, Ordered, FileMatcher
Direct Known Subclasses:
MultipleObjectModelFactoryDeployer, MultipleSchemaResolverDeployer

public abstract class MultipleJBossXBDeployer<T>
extends MultipleVFSParsingDeployer<T>

MultipleJBossXBDeployer.

Author:
Ales Justin

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jboss.deployers.spi.Ordered
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
MultipleJBossXBDeployer(Class<T> output, Map<String,Class<?>> mappings)
           
MultipleJBossXBDeployer(Class<T> output, Map<String,Class<?>> mappings, String suffix, Class<?> suffixClass)
           
 
Method Summary
 Map<String,Boolean> getFeatures()
          Get unmarshaller features.
protected  org.jboss.xb.util.JBossXBHelper<T> getHelper()
          Get the helper.
 boolean isUseSchemaValidation()
          Get the useSchemaValidation.
 boolean isUseValidation()
          Get the useValidation.
 void setFeatures(Map<String,Boolean> features)
          Set the unmarshaller features.
 void setUseSchemaValidation(boolean useSchemaValidation)
          Set the useSchemaValidation.
 void setUseValidation(boolean useValidation)
          Set the useValidation.
 void start()
           
 
Methods inherited from class org.jboss.deployers.vfs.spi.deployer.MultipleVFSParsingDeployer
getInstance, getMappings, getSuffixClass, matchFileToClass, matchFileToClass, matchFileToClass, mergeFiles, mergeMetaData, mergeMetaData, parse, parse
 
Methods inherited from class org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer
accepts, accepts, allowsMultipleFiles, getAltMappings, getMetadataFile, handleMultipleFiles, init, isDeployable, 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

MultipleJBossXBDeployer

public MultipleJBossXBDeployer(Class<T> output,
                               Map<String,Class<?>> mappings)

MultipleJBossXBDeployer

public MultipleJBossXBDeployer(Class<T> output,
                               Map<String,Class<?>> mappings,
                               String suffix,
                               Class<?> suffixClass)
Method Detail

getHelper

protected org.jboss.xb.util.JBossXBHelper<T> getHelper()
Get the helper.

Returns:
the helper

start

public void start()
           throws Exception
Throws:
Exception

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.

getFeatures

public Map<String,Boolean> getFeatures()
Get unmarshaller features.

Returns:
the features

setFeatures

public void setFeatures(Map<String,Boolean> features)
Set the unmarshaller features.

Parameters:
features - the features


Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.