|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DeploymentContext
DeploymentContext.
| Method Summary | |
|---|---|
void |
addChild(DeploymentContext child)
Add a child |
void |
addComponent(DeploymentContext component)
Add a component |
void |
addControllerContextName(Object name)
Add controller context name. |
void |
cleanup()
Cleanup the deployment context |
boolean |
createClassLoader(ClassLoaderFactory factory)
Create a classloader |
void |
deployed()
Touch the context to say it is deployed |
List<DeploymentContext> |
getChildren()
The children |
ClassLoader |
getClassLoader()
Gets the classloader for this deployment unit |
Comparator<DeploymentContext> |
getComparator()
Get the comparator. |
List<DeploymentContext> |
getComponents()
The components |
Set<Object> |
getControllerContextNames()
Get the controller context names. |
org.jboss.dependency.spi.DependencyInfo |
getDependencyInfo()
Get the dependency info |
org.jboss.deployers.client.spi.Deployment |
getDeployment()
Get the deployment (if this is a top level context) |
DeploymentUnit |
getDeploymentUnit()
Get the deployment unit |
org.jboss.metadata.spi.MetaData |
getMetaData()
Get the metadata for this deployment context |
org.jboss.metadata.spi.MutableMetaData |
getMutableMetaData()
Get the mutable metadata for this deployment context |
org.jboss.metadata.spi.scope.ScopeKey |
getMutableScope()
Get the mutable scope |
String |
getName()
Get the deployment name |
DeploymentContext |
getParent()
The parent |
Throwable |
getProblem()
Get the problem for this context |
int |
getRelativeOrder()
Get the relative order |
String |
getRelativePath()
Get the path of this deployment relative to the top of the deployment vfs path ------------------- relative path deploy/some.ear "" deploy/some.ear/x.ejb "/x.ejb" deploy/some.ear/y.sar "/y.sar" deploy/some.ear/y.sar/z.rar "/y.sar/z.rar" |
ClassLoader |
getResourceClassLoader()
Get a resource classloader |
DeploymentResourceLoader |
getResourceLoader()
Get a resource loader |
org.jboss.metadata.spi.scope.ScopeKey |
getScope()
Get the scope |
String |
getSimpleName()
Get the simple vfs name of the deployment unit. |
org.jboss.deployers.spi.DeploymentState |
getState()
Get the deployment state |
DeploymentContext |
getTopLevel()
Get the top level deployment |
Set<String> |
getTypes()
Get the deployment types associated with this deployment. |
boolean |
isComponent()
Whether this is a component |
boolean |
isDeployed()
Whether the deployment was processed |
boolean |
isTopLevel()
Whether this is a top level deployment |
boolean |
removeChild(DeploymentContext child)
Remove a child |
void |
removeClassLoader()
Remove the classloader created by the factory |
void |
removeClassLoader(ClassLoaderFactory factory)
Remove the classloader |
boolean |
removeComponent(DeploymentContext component)
Remove a component |
void |
removeControllerContextName(Object name)
Remove controller context name. |
void |
setClassLoader(ClassLoader classLoader)
Set the class loader |
void |
setComparator(Comparator<DeploymentContext> comparator)
Set the comparator. |
void |
setDeployment(org.jboss.deployers.client.spi.Deployment deployment)
Set the deployment |
void |
setDeploymentUnit(DeploymentUnit unit)
Set the deployment unit |
void |
setMutableScope(org.jboss.metadata.spi.scope.ScopeKey key)
Set the mutable scope |
void |
setParent(DeploymentContext parent)
Set the parent |
void |
setProblem(Throwable problem)
Set the problem for this context |
void |
setRelativeOrder(int relativeOrder)
Set the relative order |
void |
setScope(org.jboss.metadata.spi.scope.ScopeKey key)
Set the scope |
void |
setState(org.jboss.deployers.spi.DeploymentState state)
Set the deployment state |
void |
visit(DeploymentContextVisitor visitor)
Visit the context and the children |
| 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 |
| Method Detail |
|---|
String getName()
Set<Object> getControllerContextNames()
void addControllerContextName(Object name)
name - the controller context namevoid removeControllerContextName(Object name)
name - the controller context nameString getSimpleName()
String getRelativePath()
int getRelativeOrder()
void setRelativeOrder(int relativeOrder)
relativeOrder - the relativeOrderComparator<DeploymentContext> getComparator()
void setComparator(Comparator<DeploymentContext> comparator)
comparator - the comparator.Set<String> getTypes()
org.jboss.metadata.spi.scope.ScopeKey getScope()
void setScope(org.jboss.metadata.spi.scope.ScopeKey key)
key - the scope keyorg.jboss.metadata.spi.scope.ScopeKey getMutableScope()
void setMutableScope(org.jboss.metadata.spi.scope.ScopeKey key)
key - the mutable scope keyorg.jboss.metadata.spi.MetaData getMetaData()
org.jboss.metadata.spi.MutableMetaData getMutableMetaData()
org.jboss.deployers.spi.DeploymentState getState()
void setState(org.jboss.deployers.spi.DeploymentState state)
state - the stateorg.jboss.deployers.client.spi.Deployment getDeployment()
void setDeployment(org.jboss.deployers.client.spi.Deployment deployment)
deployment - the deployment
IllegalArgumentException - for a null deploymentDeploymentUnit getDeploymentUnit()
void setDeploymentUnit(DeploymentUnit unit)
unit - the deployment unitClassLoader getClassLoader()
void setClassLoader(ClassLoader classLoader)
classLoader - the new classloader
boolean createClassLoader(ClassLoaderFactory factory)
throws org.jboss.deployers.spi.DeploymentException
factory - the factory
org.jboss.deployers.spi.DeploymentException - for any errorvoid removeClassLoader()
void removeClassLoader(ClassLoaderFactory factory)
factory - the original factory used to create the classloaderboolean isTopLevel()
DeploymentContext getTopLevel()
DeploymentContext getParent()
void setParent(DeploymentContext parent)
parent - the parentList<DeploymentContext> getChildren()
void addChild(DeploymentContext child)
child - the child to addboolean removeChild(DeploymentContext child)
child - the child to remove
boolean isComponent()
List<DeploymentContext> getComponents()
void addComponent(DeploymentContext component)
component - the componnet to addboolean removeComponent(DeploymentContext component)
component - the component to remove
DeploymentResourceLoader getResourceLoader()
ClassLoader getResourceClassLoader()
org.jboss.dependency.spi.DependencyInfo getDependencyInfo()
void visit(DeploymentContextVisitor visitor)
throws org.jboss.deployers.spi.DeploymentException
visitor - the visitor
org.jboss.deployers.spi.DeploymentException - for any error in the visitor
IllegalArgumentException - for a null visitorboolean isDeployed()
void deployed()
Throwable getProblem()
void setProblem(Throwable problem)
problem - the problemvoid cleanup()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||