Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.runtime.jboss.deployer.structure
Class NuxeoStructureDeployer

java.lang.Object
  extended by org.jboss.deployers.vfs.spi.structure.helpers.AbstractStructureDeployer
      extended by org.jboss.deployers.vfs.plugins.structure.AbstractVFSStructureDeployer
          extended by org.nuxeo.runtime.jboss.deployer.structure.NuxeoStructureDeployer
All Implemented Interfaces:
org.jboss.deployers.spi.Ordered, org.jboss.deployers.vfs.spi.structure.StructureDeployer

public class NuxeoStructureDeployer
extends org.jboss.deployers.vfs.plugins.structure.AbstractVFSStructureDeployer

Author:
Bogdan Stefanescu

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jboss.deployers.spi.Ordered
org.jboss.deployers.spi.Ordered.OrderedComparator
 
Field Summary
static String NUXEO_PREPROCESSOR_FILE
           
static String NUXEO_STRUCTURE_XML
           
 
Fields inherited from interface org.jboss.deployers.spi.Ordered
COMPARATOR
 
Constructor Summary
NuxeoStructureDeployer()
           
 
Method Summary
static DeploymentStructure accept(org.jboss.virtual.VirtualFile root)
           
 boolean determineStructure(org.jboss.deployers.vfs.spi.structure.StructureContext structureContext)
           
 org.jboss.xb.binding.sunday.unmarshalling.SchemaBindingResolver getResolver()
          Gets the schema resolver.
 boolean isIncludeEarRootInClasspath()
           
 boolean isIncludeManifestClassPath()
           
 boolean isUseValidation()
           
static DeploymentStructure loadConfig(org.jboss.virtual.VirtualFile root)
           
 org.jboss.metadata.ear.jboss.JBossAppMetaData loadEarMetaData(org.jboss.virtual.VirtualFile file)
          The EAR processing stuff
static DeploymentStructure peekStructure(String key)
           
static DeploymentStructure popStructure(String key)
           
 void preprocess(DeploymentStructure md, File[] bundles)
           
static void pushStructure(String key, DeploymentStructure ds)
           
 void setIncludeEarRootInClasspath(boolean includeEarRootInClasspath)
           
 void setIncludeManifestClassPath(boolean includeManifestClassPath)
           
 void setResolver(org.jboss.xb.binding.sunday.unmarshalling.SchemaBindingResolver resolver)
          Sets the schema resolver.
 void setUseValidation(boolean validateXml)
           
 
Methods inherited from class org.jboss.deployers.vfs.plugins.structure.AbstractVFSStructureDeployer
setExcluded, setFilter, setIncluded, setRecurseFilter
 
Methods inherited from class org.jboss.deployers.vfs.spi.structure.helpers.AbstractStructureDeployer
addCandidateAnnotation, getCandidateAnnotations, getCandidateStructureVisitorFactory, getRelativeOrder, getRelativePath, getRelativePath, isSupportsCandidateAnnotations, setCandidateAnnotations, setCandidateStructureVisitorFactory, setContextInfoOrder, setRelativeOrder, setSupportsCandidateAnnotations
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NUXEO_STRUCTURE_XML

public static final String NUXEO_STRUCTURE_XML
See Also:
Constant Field Values

NUXEO_PREPROCESSOR_FILE

public static final String NUXEO_PREPROCESSOR_FILE
See Also:
Constant Field Values
Constructor Detail

NuxeoStructureDeployer

public NuxeoStructureDeployer()
Method Detail

popStructure

public static DeploymentStructure popStructure(String key)

peekStructure

public static DeploymentStructure peekStructure(String key)

pushStructure

public static void pushStructure(String key,
                                 DeploymentStructure ds)

getResolver

public org.jboss.xb.binding.sunday.unmarshalling.SchemaBindingResolver getResolver()
Gets the schema resolver.

Returns:
the schema resolver

setResolver

public void setResolver(org.jboss.xb.binding.sunday.unmarshalling.SchemaBindingResolver resolver)
Sets the schema resolver.

Parameters:
resolver - the schema resolver

setIncludeEarRootInClasspath

public void setIncludeEarRootInClasspath(boolean includeEarRootInClasspath)

isIncludeEarRootInClasspath

public boolean isIncludeEarRootInClasspath()

setIncludeManifestClassPath

public void setIncludeManifestClassPath(boolean includeManifestClassPath)

isIncludeManifestClassPath

public boolean isIncludeManifestClassPath()

setUseValidation

public void setUseValidation(boolean validateXml)

isUseValidation

public boolean isUseValidation()

determineStructure

public boolean determineStructure(org.jboss.deployers.vfs.spi.structure.StructureContext structureContext)
                           throws org.jboss.deployers.spi.DeploymentException
Throws:
org.jboss.deployers.spi.DeploymentException

loadConfig

public static DeploymentStructure loadConfig(org.jboss.virtual.VirtualFile root)
                                      throws Exception
Throws:
Exception

accept

public static DeploymentStructure accept(org.jboss.virtual.VirtualFile root)
                                  throws Exception
Throws:
Exception

preprocess

public void preprocess(DeploymentStructure md,
                       File[] bundles)
                throws Exception
Throws:
Exception

loadEarMetaData

public org.jboss.metadata.ear.jboss.JBossAppMetaData loadEarMetaData(org.jboss.virtual.VirtualFile file)
                                                              throws Exception
The EAR processing stuff

Throws:
Exception

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.