|
||||||||||
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 pathpublic AbstractVFSDeploymentContext(org.jboss.virtual.VirtualFile root, String relativePath)
root
- the virtual filerelativePath
- the relative pathMethod Detail |
---|
public org.jboss.virtual.VirtualFile getRoot()
VFSDeploymentContext
getRoot
in interface AbstractVFSDeploymentContextMBean
getRoot
in interface VFSDeploymentContext
public void setMetaDataPath(List<String> paths)
VFSDeploymentContext
setMetaDataPath
in interface VFSDeploymentContext
paths
- the pathprotected List<org.jboss.virtual.VirtualFile> getMutableMetaDataLocations()
public List<org.jboss.virtual.VirtualFile> getMetaDataLocations()
VFSDeploymentContext
getMetaDataLocations
in interface AbstractVFSDeploymentContextMBean
getMetaDataLocations
in interface VFSDeploymentContext
public void setMetaDataLocations(List<org.jboss.virtual.VirtualFile> locations)
VFSDeploymentContext
setMetaDataLocations
in interface VFSDeploymentContext
locations
- the meta data locationpublic org.jboss.virtual.VirtualFile getMetaDataFile(String name)
VFSDeploymentContext
getMetaDataFile
in interface VFSDeploymentContext
name
- 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 VFSDeploymentContext
name
- 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 VFSDeploymentContext
filter
- the file filter
public void prependMetaDataLocation(org.jboss.virtual.VirtualFile... locations)
VFSDeploymentContext
prependMetaDataLocation
in interface VFSDeploymentContext
locations
- the locationspublic void appendMetaDataLocation(org.jboss.virtual.VirtualFile... locations)
VFSDeploymentContext
appendMetaDataLocation
in interface VFSDeploymentContext
locations
- the locationspublic void removeMetaDataLocation(org.jboss.virtual.VirtualFile... locations)
VFSDeploymentContext
removeMetaDataLocation
in interface VFSDeploymentContext
locations
- the locationspublic org.jboss.virtual.VirtualFile getFile(String name)
VFSDeploymentContext
getFile
in interface VFSDeploymentContext
name
- the name to exactly match
protected List<org.jboss.virtual.VirtualFile> getMutableClassPath()
public List<org.jboss.virtual.VirtualFile> getClassPath()
VFSDeploymentContext
getClassPath
in interface AbstractVFSDeploymentContextMBean
getClassPath
in interface VFSDeploymentContext
public void setClassPath(List<org.jboss.virtual.VirtualFile> paths)
VFSDeploymentContext
setClassPath
in interface VFSDeploymentContext
paths
- the pathspublic void appendClassPath(List<org.jboss.virtual.VirtualFile> files)
VFSDeploymentContext
appendClassPath
in interface VFSDeploymentContext
files
- a virtual filepublic void prependClassPath(org.jboss.virtual.VirtualFile... files)
VFSDeploymentContext
prependClassPath
in interface VFSDeploymentContext
files
- a virtual filepublic void prependClassPath(List<org.jboss.virtual.VirtualFile> files)
VFSDeploymentContext
prependClassPath
in interface VFSDeploymentContext
files
- a virtual filepublic void appendClassPath(org.jboss.virtual.VirtualFile... files)
VFSDeploymentContext
appendClassPath
in interface VFSDeploymentContext
files
- a virtual filepublic void removeClassPath(org.jboss.virtual.VirtualFile... files)
VFSDeploymentContext
removeClassPath
in interface VFSDeploymentContext
files
- the filespublic VFSDeploymentContext getTopLevel()
DeploymentContext
getTopLevel
in interface DeploymentContext
getTopLevel
in interface VFSDeploymentContext
getTopLevel
in class AbstractDeploymentContext
public VFSDeploymentResourceLoader getResourceLoader()
DeploymentContext
getResourceLoader
in interface DeploymentContext
getResourceLoader
in interface VFSDeploymentContext
getResourceLoader
in class AbstractDeploymentContext
protected DeploymentUnit createDeploymentUnit()
AbstractDeploymentContext
createDeploymentUnit
in class AbstractDeploymentContext
public void cleanup()
DeploymentContext
cleanup
in interface DeploymentContext
cleanup
in class AbstractDeploymentContext
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class AbstractDeploymentContext
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class AbstractDeploymentContext
out
- the output
IOException
- for any error
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |