|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.deployers.spi.attachments.helpers.PredeterminedManagedObjectAttachmentsImpl
org.jboss.deployers.spi.attachments.helpers.ManagedObjectAttachmentsImpl
org.jboss.deployers.spi.attachments.helpers.ManagedObjectsWithTransientAttachmentsImpl
org.jboss.deployers.structure.spi.helpers.AbstractDeploymentContext
org.jboss.deployers.vfs.plugins.structure.AbstractVFSDeploymentContext
public class AbstractVFSDeploymentContext
AbstractVFSDeploymentContext.
| Constructor Summary | |
|---|---|
AbstractVFSDeploymentContext()
For serialization |
|
AbstractVFSDeploymentContext(String name,
String simpleName,
org.jboss.virtual.VirtualFile root,
String relativePath)
Create a new AbstractVFSDeploymentContext. |
|
AbstractVFSDeploymentContext(org.jboss.virtual.VirtualFile root,
String relativePath)
Create a new AbstractVFSDeploymentContext. |
|
| Method Summary | |
|---|---|
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. |
void |
cleanup()
Cleanup the deployment context |
protected DeploymentUnit |
createDeploymentUnit()
Create a deployment unit |
List<org.jboss.virtual.VirtualFile> |
getClassPath()
Get the class path |
org.jboss.virtual.VirtualFile |
getFile(String name)
Gets a file from this deployment |
org.jboss.virtual.VirtualFile |
getMetaDataFile(String name)
Gets a metadata file |
List<org.jboss.virtual.VirtualFile> |
getMetaDataFiles(String name,
String suffix)
Gets metadata files for this deployment |
List<org.jboss.virtual.VirtualFile> |
getMetaDataFiles(org.jboss.virtual.VirtualFileFilter filter)
Gets the metadata files for this deployment unit |
List<org.jboss.virtual.VirtualFile> |
getMetaDataLocations()
Get the meta data locations |
protected List<org.jboss.virtual.VirtualFile> |
getMutableClassPath()
Get mutable classpath. |
protected List<org.jboss.virtual.VirtualFile> |
getMutableMetaDataLocations()
Get mutable metadata locations. |
VFSDeploymentResourceLoader |
getResourceLoader()
Get a resource loader |
org.jboss.virtual.VirtualFile |
getRoot()
Get the root file |
VFSDeploymentContext |
getTopLevel()
Get the top level deployment |
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 |
readExternal(ObjectInput in)
|
void |
removeClassPath(org.jboss.virtual.VirtualFile... files)
Remove classpath files. |
void |
removeMetaDataLocation(org.jboss.virtual.VirtualFile... locations)
Remove metadata file locations. |
protected org.jboss.virtual.VirtualFile |
searchMetaDataLocations(String name)
Search the metadata locations. |
void |
setClassPath(List<org.jboss.virtual.VirtualFile> paths)
Set the class path |
void |
setMetaDataLocations(List<org.jboss.virtual.VirtualFile> locations)
Set the meta data locations |
void |
setMetaDataPath(List<String> paths)
Set the meta data path relative to the root |
void |
writeExternal(ObjectOutput out)
|
| Methods inherited from class org.jboss.deployers.spi.attachments.helpers.PredeterminedManagedObjectAttachmentsImpl |
|---|
getPredeterminedManagedObjects, setPredeterminedManagedObjects |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.jboss.deployers.spi.attachments.ManagedObjectsWithTransientAttachments |
|---|
getTransientAttachments |
| Methods inherited from interface org.jboss.deployers.spi.attachments.ManagedObjectAttachments |
|---|
getTransientManagedObjects |
| Methods inherited from interface org.jboss.deployers.spi.attachments.PredeterminedManagedObjectAttachments |
|---|
getPredeterminedManagedObjects, setPredeterminedManagedObjects |
| Methods inherited from interface org.jboss.deployers.structure.spi.helpers.AbstractDeploymentContextMBean |
|---|
listAttachments |
| Methods inherited from interface org.jboss.deployers.structure.spi.DeploymentMBean |
|---|
getChildNames, getClassLoaderName, getComparator, getComponentNames, getControllerContextNames, getDependencyInfo, getMutableScope, getName, getObjectName, getParentName, getProblem, getRelativeOrder, getRelativePath, getScope, getSimpleName, getState, getTopLevelName, isComponent, isDeployed, isTopLevel |
| Constructor Detail |
|---|
public AbstractVFSDeploymentContext()
public AbstractVFSDeploymentContext(String name,
String simpleName,
org.jboss.virtual.VirtualFile root,
String relativePath)
name - the namesimpleName - the simple nameroot - the virtual filerelativePath - the relative path
public AbstractVFSDeploymentContext(org.jboss.virtual.VirtualFile root,
String relativePath)
root - the virtual filerelativePath - the relative path| Method Detail |
|---|
public org.jboss.virtual.VirtualFile getRoot()
VFSDeploymentContext
getRoot in interface AbstractVFSDeploymentContextMBeangetRoot in interface VFSDeploymentContextpublic void setMetaDataPath(List<String> paths)
VFSDeploymentContext
setMetaDataPath in interface VFSDeploymentContextpaths - the pathprotected List<org.jboss.virtual.VirtualFile> getMutableMetaDataLocations()
public List<org.jboss.virtual.VirtualFile> getMetaDataLocations()
VFSDeploymentContext
getMetaDataLocations in interface AbstractVFSDeploymentContextMBeangetMetaDataLocations in interface VFSDeploymentContextpublic void setMetaDataLocations(List<org.jboss.virtual.VirtualFile> locations)
VFSDeploymentContext
setMetaDataLocations in interface VFSDeploymentContextlocations - the meta data locationpublic org.jboss.virtual.VirtualFile getMetaDataFile(String name)
VFSDeploymentContext
getMetaDataFile in interface VFSDeploymentContextname - the name to exactly match
protected org.jboss.virtual.VirtualFile searchMetaDataLocations(String name)
name - the file name to find
public List<org.jboss.virtual.VirtualFile> getMetaDataFiles(String name,
String suffix)
VFSDeploymentContext
getMetaDataFiles in interface VFSDeploymentContextname - the name to exactly matchsuffix - the suffix to partially match
public List<org.jboss.virtual.VirtualFile> getMetaDataFiles(org.jboss.virtual.VirtualFileFilter filter)
VFSDeploymentContext
getMetaDataFiles in interface VFSDeploymentContextfilter - the file filter
public void prependMetaDataLocation(org.jboss.virtual.VirtualFile... locations)
VFSDeploymentContext
prependMetaDataLocation in interface VFSDeploymentContextlocations - the locationspublic void appendMetaDataLocation(org.jboss.virtual.VirtualFile... locations)
VFSDeploymentContext
appendMetaDataLocation in interface VFSDeploymentContextlocations - the locationspublic void removeMetaDataLocation(org.jboss.virtual.VirtualFile... locations)
VFSDeploymentContext
removeMetaDataLocation in interface VFSDeploymentContextlocations - the locationspublic org.jboss.virtual.VirtualFile getFile(String name)
VFSDeploymentContext
getFile in interface VFSDeploymentContextname - the name to exactly match
protected List<org.jboss.virtual.VirtualFile> getMutableClassPath()
public List<org.jboss.virtual.VirtualFile> getClassPath()
VFSDeploymentContext
getClassPath in interface AbstractVFSDeploymentContextMBeangetClassPath in interface VFSDeploymentContextpublic void setClassPath(List<org.jboss.virtual.VirtualFile> paths)
VFSDeploymentContext
setClassPath in interface VFSDeploymentContextpaths - the pathspublic void appendClassPath(List<org.jboss.virtual.VirtualFile> files)
VFSDeploymentContext
appendClassPath in interface VFSDeploymentContextfiles - a virtual filepublic void prependClassPath(org.jboss.virtual.VirtualFile... files)
VFSDeploymentContext
prependClassPath in interface VFSDeploymentContextfiles - a virtual filepublic void prependClassPath(List<org.jboss.virtual.VirtualFile> files)
VFSDeploymentContext
prependClassPath in interface VFSDeploymentContextfiles - a virtual filepublic void appendClassPath(org.jboss.virtual.VirtualFile... files)
VFSDeploymentContext
appendClassPath in interface VFSDeploymentContextfiles - a virtual filepublic void removeClassPath(org.jboss.virtual.VirtualFile... files)
VFSDeploymentContext
removeClassPath in interface VFSDeploymentContextfiles - the filespublic VFSDeploymentContext getTopLevel()
DeploymentContext
getTopLevel in interface DeploymentContextgetTopLevel in interface VFSDeploymentContextgetTopLevel in class AbstractDeploymentContextpublic VFSDeploymentResourceLoader getResourceLoader()
DeploymentContext
getResourceLoader in interface DeploymentContextgetResourceLoader in interface VFSDeploymentContextgetResourceLoader in class AbstractDeploymentContextprotected DeploymentUnit createDeploymentUnit()
AbstractDeploymentContext
createDeploymentUnit in class AbstractDeploymentContextpublic void cleanup()
DeploymentContext
cleanup in interface DeploymentContextcleanup in class AbstractDeploymentContext
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizablereadExternal in class AbstractDeploymentContextIOException
ClassNotFoundException
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface ExternalizablewriteExternal in class AbstractDeploymentContextout - the output
IOException - for any error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||