|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.deployment.DeploymentInfo
Service Deployment Info . Every deployment (even the J2EE ones) should be seen at some point as Service Deployment info
Service
,
Serialized FormField Summary | |
String |
alternativeDD
If this deployed as part of an EAR, there may be an alernative DD |
Collection |
classpath
The classpath declared by this xml descriptor, needs |
HashMap |
context
An arbitrary map of state associated with the deployment |
Date |
date
The initial construction timestamp |
javax.management.ObjectName |
deployedObject
The variable deployedObject can contain the MBean that
is created through the deployment. |
SubDeployer |
deployer
The subdeployer that handles the deployment |
Document |
document
Each Deployment is really mapping one to one to a XML document, here in its parsed form. |
URL |
documentUrl
An optional URL to the URL of the document loaded |
boolean |
isDirectory
Does the deployment url point to a directory |
boolean |
isScript
|
boolean |
isXML
Is this a stand-alone service descriptor |
long |
lastDeployed
The last system time the deployment inited by the MainDeployer |
long |
lastModified
use for "should we redeploy failed" |
URLClassLoader |
localCl
local Cl is a CL that is used for metadata loading, if ejb-jar.xml is left in the parent CL through old deployments, this makes ensures that we use the local version. |
URL |
localUrl
An optional URL to a local copy of the deployment |
Manifest |
manifest
the manifest entry of the deployment (if any) manifest is not serializable ... |
List |
mbeans
The mbeans deployed |
Object |
metaData
We can hold "typed" metadata, really an interpretation of the bare XML document |
DeploymentInfo |
parent
And the subDeployments have a parent |
org.jboss.mx.loading.LoaderRepositoryFactory.LoaderRepositoryConfig |
repositoryConfig
The configuration of the loader repository for this deployment |
String |
shortName
The suffix of the deployment url |
DeploymentState |
state
The current state of the deployment |
String |
status
A free form status for the "state" can be Deployed/failed etc etc |
Set |
subDeployments
Anyone can have subdeployments |
org.jboss.mx.loading.RepositoryClassLoader |
ucl
Unified CL is a global scope class loader |
URL |
url
the URL identifing this SDI |
URL |
watch
The URL used to watch for changes when the deployment is unpacked |
String |
webContext
the web root context in case of war file |
Constructor Summary | |
DeploymentInfo(URL url,
DeploymentInfo parent,
javax.management.MBeanServer server)
|
Method Summary | |
void |
addLibraryJar(URL libJar)
All library jars referenced through either the manifest references or sar classpaths are added to the root DeploymentInfo class loader. |
void |
cleanup()
|
void |
createClassLoaders()
Create a UnifiedClassLoader for the deployment that loads from the localUrl and uses its parent deployments url as its orignal url. |
boolean |
equals(Object other)
|
String |
getCanonicalName()
The sortName concatenated with the canonical names of all parents. |
Manifest |
getManifest()
getManifest returns (if present) the deployment's manifest it is lazy loaded to work from the localURL |
javax.management.MBeanServer |
getServer()
|
org.jboss.mx.loading.LoaderRepositoryFactory.LoaderRepositoryConfig |
getTopRepositoryConfig()
The the class loader repository name of the top most DeploymentInfo |
int |
hashCode()
|
void |
setRepositoryInfo(org.jboss.mx.loading.LoaderRepositoryFactory.LoaderRepositoryConfig config)
Set the UnifiedLoaderRepository info for the deployment. |
void |
setServer(javax.management.MBeanServer server)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public Date date
public URL url
public URL localUrl
public URL watch
public String shortName
public long lastDeployed
public long lastModified
public String status
public DeploymentState state
public transient SubDeployer deployer
public transient org.jboss.mx.loading.RepositoryClassLoader ucl
public transient URLClassLoader localCl
public final Collection classpath
public final List mbeans
public final Set subDeployments
public DeploymentInfo parent
public String webContext
public transient Manifest manifest
public Document document
public URL documentUrl
public transient Object metaData
public String alternativeDD
public transient HashMap context
public boolean isXML
public boolean isScript
public boolean isDirectory
public javax.management.ObjectName deployedObject
deployedObject
can contain the MBean that
is created through the deployment. for instance, deploying an ejb-jar
results in an EjbModule mbean, which is stored here.
public org.jboss.mx.loading.LoaderRepositoryFactory.LoaderRepositoryConfig repositoryConfig
Constructor Detail |
public DeploymentInfo(URL url, DeploymentInfo parent, javax.management.MBeanServer server) throws DeploymentException
Method Detail |
public javax.management.MBeanServer getServer()
public void setServer(javax.management.MBeanServer server)
public void createClassLoaders() throws Exception
Exception
public void setRepositoryInfo(org.jboss.mx.loading.LoaderRepositoryFactory.LoaderRepositoryConfig config) throws Exception
Exception
public void addLibraryJar(URL libJar)
public org.jboss.mx.loading.LoaderRepositoryFactory.LoaderRepositoryConfig getTopRepositoryConfig()
public Manifest getManifest()
public void cleanup()
public String getCanonicalName()
public int hashCode()
public boolean equals(Object other)
public String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |