|
||||||||||
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>
org.jboss.deployers.vfs.spi.deployer.UnmarshallerFactoryDeployer<T,Boolean>
org.jboss.deployers.vfs.spi.deployer.JBossXBDeployer<T>
org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer<T>
T
- the expected typepublic class SchemaResolverDeployer<T>
SchemaResolverDeployer.
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 | |
---|---|
SchemaResolverDeployer(Class<T> output)
Create a new SchemaResolverDeployer. |
Method Summary | |
---|---|
void |
create()
Check if we need to register schema to jbossxb. |
void |
destroy()
Remove registered schema |
String |
getNamespace()
Get the namespace, if it was set. |
boolean |
isRegisterWithJBossXB()
Get the registerWithJBossXB. |
protected T |
parse(VFSDeploymentUnit unit,
org.jboss.virtual.VirtualFile file,
T root)
Parse a deployment |
protected T |
parse(org.jboss.virtual.VirtualFile file)
Parse the file. |
void |
setRegisterWithJBossXB(boolean registerWithJBossXB)
Set the registerWithJBossXB. |
Methods inherited from class org.jboss.deployers.vfs.spi.deployer.JBossXBDeployer |
---|
createUnmarshallerFactory, fromString, getHelper, isUseSchemaValidation, isUseValidation, setUseSchemaValidation, setUseValidation |
Methods inherited from class org.jboss.deployers.vfs.spi.deployer.UnmarshallerFactoryDeployer |
---|
getFeatures, isUseDefaultFeatures, setFeatures, setUseDefaultFeatures, start |
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 SchemaResolverDeployer(Class<T> output)
output
- the output
IllegalArgumentException
- for a null outputMethod Detail |
---|
public boolean isRegisterWithJBossXB()
public void setRegisterWithJBossXB(boolean registerWithJBossXB)
registerWithJBossXB
- the registerWithJBossXBpublic String getNamespace()
public void create()
public void destroy()
protected T parse(VFSDeploymentUnit unit, org.jboss.virtual.VirtualFile file, T root) throws Exception
AbstractVFSParsingDeployer
parse
in class AbstractVFSParsingDeployer<T>
unit
- the deployment unitfile
- the metadata fileroot
- - possibly null pre-existing root
Exception
- for any errorprotected T parse(org.jboss.virtual.VirtualFile file) throws Exception
file
- the virtual file to parse
Exception
- for any error
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |