|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface VFSDeploymentUnit
VFSDeploymentUnit.
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 |
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)
Deprecated. user view should not have setters |
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 |
Method Detail |
---|
org.jboss.virtual.VirtualFile getMetaDataFile(String name)
name
- the name to exactly match
IllegalArgumentException
- for a null nameList<org.jboss.virtual.VirtualFile> getMetaDataFiles(String name, String suffix)
name
- the name to exactly matchsuffix
- the suffix to partially match
IllegalArgumentException
- if both the name and suffix are nullList<org.jboss.virtual.VirtualFile> getMetaDataFiles(org.jboss.virtual.VirtualFileFilter filter)
filter
- the file filter
IllegalArgumentException
- if both the name and suffix are nullvoid prependMetaDataLocation(org.jboss.virtual.VirtualFile... locations)
locations
- the locationsvoid appendMetaDataLocation(org.jboss.virtual.VirtualFile... locations)
locations
- the locationsvoid removeMetaDataLocation(org.jboss.virtual.VirtualFile... locations)
locations
- the locationsVFSDeploymentResourceLoader getResourceLoader()
getResourceLoader
in interface DeploymentUnit
org.jboss.virtual.VirtualFile getFile(String path)
path
- the relative path of the file
org.jboss.virtual.VirtualFile getRoot()
List<org.jboss.virtual.VirtualFile> getClassPath()
@Deprecated void setClassPath(List<org.jboss.virtual.VirtualFile> classPath)
classPath
- the classpathvoid prependClassPath(org.jboss.virtual.VirtualFile... files)
files
- a virtual filevoid prependClassPath(List<org.jboss.virtual.VirtualFile> files)
files
- a virtual filevoid appendClassPath(org.jboss.virtual.VirtualFile... files)
files
- a virtual filevoid appendClassPath(List<org.jboss.virtual.VirtualFile> files)
files
- a virtual filevoid addClassPath(org.jboss.virtual.VirtualFile... files)
files
- a virtual filevoid addClassPath(List<org.jboss.virtual.VirtualFile> files)
files
- a virtual filevoid removeClassPath(org.jboss.virtual.VirtualFile... files)
files
- the filesVFSDeploymentUnit getTopLevel()
getTopLevel
in interface DeploymentUnit
VFSDeploymentUnit getParent()
getParent
in interface DeploymentUnit
List<VFSDeploymentUnit> getVFSChildren()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |