org.jboss.deployers.vfs.plugins.structure.jar
Class JARStructure
java.lang.Object
org.jboss.deployers.vfs.spi.structure.helpers.AbstractStructureDeployer
org.jboss.deployers.vfs.plugins.structure.AbstractVFSStructureDeployer
org.jboss.deployers.vfs.plugins.structure.jar.JARStructure
- All Implemented Interfaces:
- Ordered, StructureDeployer
public class JARStructure
- extends AbstractVFSStructureDeployer
JARStructure.
- Version:
- $Revision: 1.1 $
- Author:
- Adrian Brock, Ales Justin
Methods inherited from class org.jboss.deployers.vfs.spi.structure.helpers.AbstractStructureDeployer |
addAllChildren, addAllChildren, addCandidateAnnotation, addChildren, addChildren, addClassPath, applyContextInfo, applyMetadataPath, applyMetadataPaths, applyStructure, checkCandidateAnnotations, createContext, createContext, createContext, getCandidateAnnotations, getCandidateStructureVisitorFactory, getRelativeOrder, getRelativePath, getRelativePath, isLeaf, isSupportsCandidateAnnotations, setCandidateAnnotations, setCandidateStructureVisitorFactory, setContextInfoOrder, setRelativeOrder, setSupportsCandidateAnnotations |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JARStructure
public JARStructure()
- Create a new JARStructure. with the default suffixes
JARStructure
public JARStructure(Set<String> suffixes)
- Sets the default relative order 10000.
- Parameters:
suffixes
- the suffixes
getSuffixes
public Set<String> getSuffixes()
- Gets the set of suffixes recognised as jars
- Returns:
- the set of suffixes
setSuffixes
public void setSuffixes(Set<String> suffixes)
- Gets the set of suffixes recognised as jars
- Parameters:
suffixes
- - the set of suffixes
addJarExtension
public void addJarExtension(JarExtensionProvider provider)
removeJarExtension
public void removeJarExtension(JarExtensionProvider provider)
determineStructure
public boolean determineStructure(StructureContext structureContext)
throws DeploymentException
- Description copied from interface:
StructureDeployer
- Determine the structure of a deployment
- Parameters:
structureContext
- the structure context
- Returns:
- true when it recognised the context
- Throws:
DeploymentException
- for an error
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.