|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.deployers.vfs.spi.structure.helpers.AbstractStructureDeployer
org.jboss.deployers.vfs.plugins.structure.AbstractVFSStructureDeployer
org.jboss.soa.esb.listeners.deployers.mc.GroupingStructure
public class GroupingStructure
Similar to jar or directory structure, being able to handle sub-dirs, but a bit more strict then dir structure. Only listed sub-directories are candidates for potential sub-deployments. It also allows you to set metadata paths, libs and should the root be part of classpath. Each of sub-dirs can be filtered per path or by default per lib or group. In order to accept anything one must first set shortCircuitFilter instance.
org.jboss.deployers.vfs.plugins.structure.jar.JARStructure,
org.jboss.deployers.vfs.plugins.structure.dir.DirectoryStructure| 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.vfs.spi.structure.helpers.AbstractStructureDeployer |
|---|
log |
| Fields inherited from interface org.jboss.deployers.spi.Ordered |
|---|
COMPARATOR |
| Constructor Summary | |
|---|---|
GroupingStructure()
|
|
| Method Summary | |
|---|---|
void |
addGroup(java.lang.String group)
Add group. |
boolean |
determineStructure(org.jboss.deployers.vfs.spi.structure.StructureContext structureContext)
|
void |
removeGroup(java.lang.String group)
Remove group. |
void |
setFilters(java.util.Map<java.lang.String,org.jboss.virtual.VirtualFileFilter> filters)
Set filter per path. |
void |
setGroupFilter(org.jboss.virtual.VirtualFileFilter groupFilter)
Set default group filter. |
void |
setGroups(java.util.Set<java.lang.String> groups)
Set groups. |
void |
setLibFilter(org.jboss.virtual.VirtualFileFilter libFilter)
Set default lib filter. |
void |
setLibs(java.util.Set<java.lang.String> libs)
Set libs; added as cp entries. |
void |
setMetaDataPaths(java.lang.String[] metaDataPaths)
Set the default metadata paths. |
void |
setRootClasspathEntry(boolean rootClasspathEntry)
Is root part of classpath. |
void |
setShortCircuitFilter(org.jboss.virtual.VirtualFileFilter shortCircuitFilter)
Set short circuit file filter. |
protected boolean |
shortCircuitFileCheck(org.jboss.virtual.VirtualFile file)
Do short circuit file check. |
| Methods inherited from class org.jboss.deployers.vfs.plugins.structure.AbstractVFSStructureDeployer |
|---|
createAnnotationEnvironment, setExcluded, setFilter, setIncluded, setRecurseFilter |
| 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 |
| Constructor Detail |
|---|
public GroupingStructure()
| Method Detail |
|---|
public boolean determineStructure(org.jboss.deployers.vfs.spi.structure.StructureContext structureContext)
throws org.jboss.deployers.spi.DeploymentException
org.jboss.deployers.spi.DeploymentExceptionprotected boolean shortCircuitFileCheck(org.jboss.virtual.VirtualFile file)
file - the file
public void setShortCircuitFilter(org.jboss.virtual.VirtualFileFilter shortCircuitFilter)
shortCircuitFilter - the short circuit file filterpublic void setRootClasspathEntry(boolean rootClasspathEntry)
rootClasspathEntry - root cp flagpublic void setLibs(java.util.Set<java.lang.String> libs)
libs - the libspublic void setLibFilter(org.jboss.virtual.VirtualFileFilter libFilter)
libFilter - the filterpublic void setMetaDataPaths(java.lang.String[] metaDataPaths)
metaDataPaths - the meta data pathspublic void setGroups(java.util.Set<java.lang.String> groups)
groups - the groupspublic void addGroup(java.lang.String group)
group - the grouppublic void removeGroup(java.lang.String group)
group - the grouppublic void setGroupFilter(org.jboss.virtual.VirtualFileFilter groupFilter)
groupFilter - the filterpublic void setFilters(java.util.Map<java.lang.String,org.jboss.virtual.VirtualFileFilter> filters)
filters - the filters
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||