|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.deployers.spi.attachments.helpers.AbstractAttachments
org.jboss.deployers.spi.attachments.helpers.AbstractMutableAttachments
org.jboss.deployers.structure.spi.helpers.AbstractDeploymentUnit
org.jboss.deployers.vfs.plugins.structure.AbstractVFSDeploymentUnit
public class AbstractVFSDeploymentUnit
AbstractVFSDeploymentUnit.
Constructor Summary | |
---|---|
AbstractVFSDeploymentUnit()
For serialization |
|
AbstractVFSDeploymentUnit(VFSDeploymentContext deploymentContext)
Create a new AbstractVFSDeploymentUnit. |
Method Summary | |
---|---|
void |
addClassPath(List<org.jboss.virtual.VirtualFile> files)
Add virtual files to the classpath |
void |
addClassPath(org.jboss.virtual.VirtualFile... files)
Append virtual files to the classpath |
void |
appendClassPath(List<org.jboss.virtual.VirtualFile> files)
Add virtual files to the classpath |
void |
appendClassPath(org.jboss.virtual.VirtualFile... files)
Append virtual files to the classpath |
void |
appendMetaDataLocation(org.jboss.virtual.VirtualFile... locations)
Append metadata file locations. |
List<org.jboss.virtual.VirtualFile> |
getClassPath()
Get the class path |
protected VFSDeploymentContext |
getDeploymentContext()
Get the deployment context |
org.jboss.virtual.VirtualFile |
getFile(String path)
Get a virtual file |
org.jboss.virtual.VirtualFile |
getMetaDataFile(String name)
Gets a metadata file. |
List<org.jboss.virtual.VirtualFile> |
getMetaDataFiles(String name,
String suffix)
Gets the metadata files for this deployment unit |
List<org.jboss.virtual.VirtualFile> |
getMetaDataFiles(org.jboss.virtual.VirtualFileFilter filter)
Gets the metadata files for this deployment unit |
VFSDeploymentUnit |
getParent()
Get the parent deployment unit |
VFSDeploymentResourceLoader |
getResourceLoader()
Get a resource loader |
org.jboss.virtual.VirtualFile |
getRoot()
Get the root |
VFSDeploymentUnit |
getTopLevel()
Get the top leve deployment unit |
List<VFSDeploymentUnit> |
getVFSChildren()
Get the children |
void |
prependClassPath(List<org.jboss.virtual.VirtualFile> files)
Prepend virtual files to the classpath |
void |
prependClassPath(org.jboss.virtual.VirtualFile... files)
Prepend virtual files to the classpath |
void |
prependMetaDataLocation(org.jboss.virtual.VirtualFile... locations)
Prepend metadata file locations. |
void |
removeClassPath(org.jboss.virtual.VirtualFile... files)
Remove classpath files. |
void |
removeMetaDataLocation(org.jboss.virtual.VirtualFile... locations)
Remove metadata file locations. |
void |
setClassPath(List<org.jboss.virtual.VirtualFile> classPath)
Set the classpath |
Methods inherited from class org.jboss.deployers.spi.attachments.helpers.AbstractMutableAttachments |
---|
addAttachment, addAttachment, removeAttachment, removeAttachment, setAttachments |
Methods inherited from class org.jboss.deployers.spi.attachments.helpers.AbstractAttachments |
---|
getAttachment, getAttachment, isAttachmentPresent, isAttachmentPresent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.jboss.deployers.structure.spi.DeploymentUnit |
---|
addComponent, addControllerContextName, addIDependOn, createClassLoader, getAllMetaData, getChildren, getClassLoader, getComponent, getComponents, getControllerContextName, getControllerContextNames, getDependencyInfo, getMainDeployer, getMetaData, getMutableMetaData, getMutableScope, getName, getRelativePath, getResourceClassLoader, getScope, getSimpleName, getTransientManagedObjects, isComponent, isTopLevel, removeClassLoader, removeComponent, removeControllerContextName, removeIDependOn, setMutableScope, setRequiredStage, setScope, visit |
Methods inherited from interface org.jboss.deployers.spi.attachments.MutableAttachments |
---|
addAttachment, addAttachment, addAttachment, clear, clearChangeCount, getChangeCount, removeAttachment, removeAttachment, removeAttachment, setAttachments |
Methods inherited from interface org.jboss.deployers.spi.attachments.Attachments |
---|
getAttachment, getAttachment, getAttachment, getAttachments, hasAttachments, isAttachmentPresent, isAttachmentPresent, isAttachmentPresent |
Constructor Detail |
---|
public AbstractVFSDeploymentUnit()
public AbstractVFSDeploymentUnit(VFSDeploymentContext deploymentContext)
deploymentContext
- the deployment context
IllegalArgumentException
- for a null deployment contextMethod Detail |
---|
public org.jboss.virtual.VirtualFile getMetaDataFile(String name)
VFSDeploymentUnit
getMetaDataFile
in interface VFSDeploymentUnit
name
- the name to exactly match
public List<org.jboss.virtual.VirtualFile> getMetaDataFiles(String name, String suffix)
VFSDeploymentUnit
getMetaDataFiles
in interface VFSDeploymentUnit
name
- the name to exactly matchsuffix
- the suffix to partially match
public List<org.jboss.virtual.VirtualFile> getMetaDataFiles(org.jboss.virtual.VirtualFileFilter filter)
VFSDeploymentUnit
getMetaDataFiles
in interface VFSDeploymentUnit
filter
- the file filter
public void prependMetaDataLocation(org.jboss.virtual.VirtualFile... locations)
VFSDeploymentUnit
prependMetaDataLocation
in interface VFSDeploymentUnit
locations
- the locationspublic void appendMetaDataLocation(org.jboss.virtual.VirtualFile... locations)
VFSDeploymentUnit
appendMetaDataLocation
in interface VFSDeploymentUnit
locations
- the locationspublic void removeMetaDataLocation(org.jboss.virtual.VirtualFile... locations)
VFSDeploymentUnit
removeMetaDataLocation
in interface VFSDeploymentUnit
locations
- the locationspublic VFSDeploymentResourceLoader getResourceLoader()
DeploymentUnit
getResourceLoader
in interface DeploymentUnit
getResourceLoader
in interface VFSDeploymentUnit
getResourceLoader
in class AbstractDeploymentUnit
public org.jboss.virtual.VirtualFile getFile(String path)
VFSDeploymentUnit
getFile
in interface VFSDeploymentUnit
path
- the relative path of the file
public org.jboss.virtual.VirtualFile getRoot()
VFSDeploymentUnit
getRoot
in interface VFSDeploymentUnit
public List<org.jboss.virtual.VirtualFile> getClassPath()
VFSDeploymentUnit
getClassPath
in interface VFSDeploymentUnit
public void setClassPath(List<org.jboss.virtual.VirtualFile> classPath)
VFSDeploymentUnit
setClassPath
in interface VFSDeploymentUnit
classPath
- the classpathpublic void prependClassPath(List<org.jboss.virtual.VirtualFile> files)
VFSDeploymentUnit
prependClassPath
in interface VFSDeploymentUnit
files
- a virtual filepublic void prependClassPath(org.jboss.virtual.VirtualFile... files)
VFSDeploymentUnit
prependClassPath
in interface VFSDeploymentUnit
files
- a virtual filepublic void appendClassPath(List<org.jboss.virtual.VirtualFile> files)
VFSDeploymentUnit
appendClassPath
in interface VFSDeploymentUnit
files
- a virtual filepublic void appendClassPath(org.jboss.virtual.VirtualFile... files)
VFSDeploymentUnit
appendClassPath
in interface VFSDeploymentUnit
files
- a virtual filepublic void addClassPath(List<org.jboss.virtual.VirtualFile> files)
VFSDeploymentUnit
addClassPath
in interface VFSDeploymentUnit
files
- a virtual filepublic void addClassPath(org.jboss.virtual.VirtualFile... files)
VFSDeploymentUnit
addClassPath
in interface VFSDeploymentUnit
files
- a virtual filepublic void removeClassPath(org.jboss.virtual.VirtualFile... files)
VFSDeploymentUnit
removeClassPath
in interface VFSDeploymentUnit
files
- the filespublic VFSDeploymentUnit getParent()
DeploymentUnit
getParent
in interface DeploymentUnit
getParent
in interface VFSDeploymentUnit
getParent
in class AbstractDeploymentUnit
public VFSDeploymentUnit getTopLevel()
DeploymentUnit
getTopLevel
in interface DeploymentUnit
getTopLevel
in interface VFSDeploymentUnit
getTopLevel
in class AbstractDeploymentUnit
public List<VFSDeploymentUnit> getVFSChildren()
VFSDeploymentUnit
getVFSChildren
in interface VFSDeploymentUnit
protected VFSDeploymentContext getDeploymentContext()
AbstractDeploymentUnit
getDeploymentContext
in class AbstractDeploymentUnit
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |