|
||||||||||
| 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 context| Method Detail |
|---|
public org.jboss.virtual.VirtualFile getMetaDataFile(String name)
VFSDeploymentUnit
getMetaDataFile in interface VFSDeploymentUnitname - the name to exactly match
public List<org.jboss.virtual.VirtualFile> getMetaDataFiles(String name,
String suffix)
VFSDeploymentUnit
getMetaDataFiles in interface VFSDeploymentUnitname - 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 VFSDeploymentUnitfilter - the file filter
public void prependMetaDataLocation(org.jboss.virtual.VirtualFile... locations)
VFSDeploymentUnit
prependMetaDataLocation in interface VFSDeploymentUnitlocations - the locationspublic void appendMetaDataLocation(org.jboss.virtual.VirtualFile... locations)
VFSDeploymentUnit
appendMetaDataLocation in interface VFSDeploymentUnitlocations - the locationspublic void removeMetaDataLocation(org.jboss.virtual.VirtualFile... locations)
VFSDeploymentUnit
removeMetaDataLocation in interface VFSDeploymentUnitlocations - the locationspublic VFSDeploymentResourceLoader getResourceLoader()
DeploymentUnit
getResourceLoader in interface DeploymentUnitgetResourceLoader in interface VFSDeploymentUnitgetResourceLoader in class AbstractDeploymentUnitpublic org.jboss.virtual.VirtualFile getFile(String path)
VFSDeploymentUnit
getFile in interface VFSDeploymentUnitpath - the relative path of the file
public org.jboss.virtual.VirtualFile getRoot()
VFSDeploymentUnit
getRoot in interface VFSDeploymentUnitpublic List<org.jboss.virtual.VirtualFile> getClassPath()
VFSDeploymentUnit
getClassPath in interface VFSDeploymentUnitpublic void setClassPath(List<org.jboss.virtual.VirtualFile> classPath)
VFSDeploymentUnit
setClassPath in interface VFSDeploymentUnitclassPath - the classpathpublic void prependClassPath(List<org.jboss.virtual.VirtualFile> files)
VFSDeploymentUnit
prependClassPath in interface VFSDeploymentUnitfiles - a virtual filepublic void prependClassPath(org.jboss.virtual.VirtualFile... files)
VFSDeploymentUnit
prependClassPath in interface VFSDeploymentUnitfiles - a virtual filepublic void appendClassPath(List<org.jboss.virtual.VirtualFile> files)
VFSDeploymentUnit
appendClassPath in interface VFSDeploymentUnitfiles - a virtual filepublic void appendClassPath(org.jboss.virtual.VirtualFile... files)
VFSDeploymentUnit
appendClassPath in interface VFSDeploymentUnitfiles - a virtual filepublic void addClassPath(List<org.jboss.virtual.VirtualFile> files)
VFSDeploymentUnit
addClassPath in interface VFSDeploymentUnitfiles - a virtual filepublic void addClassPath(org.jboss.virtual.VirtualFile... files)
VFSDeploymentUnit
addClassPath in interface VFSDeploymentUnitfiles - a virtual filepublic void removeClassPath(org.jboss.virtual.VirtualFile... files)
VFSDeploymentUnit
removeClassPath in interface VFSDeploymentUnitfiles - the filespublic VFSDeploymentUnit getParent()
DeploymentUnit
getParent in interface DeploymentUnitgetParent in interface VFSDeploymentUnitgetParent in class AbstractDeploymentUnitpublic VFSDeploymentUnit getTopLevel()
DeploymentUnit
getTopLevel in interface DeploymentUnitgetTopLevel in interface VFSDeploymentUnitgetTopLevel in class AbstractDeploymentUnitpublic List<VFSDeploymentUnit> getVFSChildren()
VFSDeploymentUnit
getVFSChildren in interface VFSDeploymentUnitprotected VFSDeploymentContext getDeploymentContext()
AbstractDeploymentUnit
getDeploymentContext in class AbstractDeploymentUnit
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||