|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.huihoo.jfox.ejb.server.DeploymentInfo
| Field Summary | |
java.util.Collection |
classpath
The classpath declared by this xml descriptor, needs |
java.util.Date |
date
Variables ------------------------------------------------------------ when * |
ObjectName |
deployedObject
The variable deployedObject can contain the MBean that
is created through the deployment. |
org.w3c.dom.Document |
document
Each Deployment is really mapping one to one to a XML document, here in its parsed form |
boolean |
isDirectory
|
boolean |
isXML
|
long |
lastDeployed
|
long |
lastModified
|
java.lang.ClassLoader |
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 * |
java.net.URL |
localUrl
|
java.util.jar.Manifest |
manifest
the manifest entry of the deployment (if any) manifest is not serializable ... is only needed at deployment time, so we mark it transient |
java.util.List |
mbeans
The mbeans deployed |
java.lang.Object |
metaData
We can hold "typed" metadata, really an interpretation of the bare XML document |
static ObjectName |
OBJECT_NAME
|
org.huihoo.jfox.ejb.server.DeploymentInfo |
parent
And the subDeployments have a parent |
ObjectName |
repositoryName
The ObjectName of the loader repository for this deployment |
java.lang.String |
shortName
|
java.lang.String |
status
use for "should we redeploy failed" A free form status for the "state" can be Deployed/failed etc etc |
java.util.Set |
subDeployments
Anyone can have subdeployments |
UnifiedClassLoader |
ucl
Unified CL is a global scope class loader |
java.net.URL |
url
the URL identifing this SDI * |
java.net.URLClassLoader |
urlcl
|
java.net.URL |
watch
|
java.lang.String |
webContext
the web root context in case of war file |
| Constructor Summary | |
DeploymentInfo()
|
|
DeploymentInfo(java.net.URL url,
org.huihoo.jfox.ejb.server.DeploymentInfo parent)
|
|
| Method Summary | |
void |
createClassLoaders(MBeanServer server,
java.net.URL lUrl,
java.io.File libfiles)
|
void |
createClassLoaders(java.net.URL url)
|
void |
createClassLoaders(java.net.URL[] urls)
|
boolean |
equals(java.lang.Object other)
|
Deployer |
getDeployer()
|
java.util.jar.Manifest |
getManifest()
getManifest returns (if present) the deployment's manifest it is lazy loaded to work from the localURL |
static java.lang.String |
getShortName(java.lang.String name)
|
ObjectName |
getTopRepositoryName()
The the class loader repository name of the top most DeploymentInfo |
int |
hashCode()
|
void |
setDeployer(Deployer deployer)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
public java.util.Date date
public java.lang.String shortName
public long lastDeployed
public long lastModified
public java.net.URLClassLoader urlcl
public UnifiedClassLoader ucl
public java.lang.String status
public java.lang.String webContext
public java.lang.Object metaData
public boolean isXML
public boolean isDirectory
public static final ObjectName OBJECT_NAME
public java.net.URL url
public java.net.URL localUrl
public java.net.URL watch
public java.lang.ClassLoader localCl
public final java.util.Collection classpath
public final java.util.List mbeans
public final java.util.Set subDeployments
public org.huihoo.jfox.ejb.server.DeploymentInfo parent
public java.util.jar.Manifest manifest
public org.w3c.dom.Document document
public 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 ObjectName repositoryName
| Constructor Detail |
public DeploymentInfo(java.net.URL url,
org.huihoo.jfox.ejb.server.DeploymentInfo parent)
throws DeploymentException
url - parent -
DeploymentExceptionpublic DeploymentInfo()
| Method Detail |
public void createClassLoaders(java.net.URL url)
throws java.lang.Exception
java.lang.Exception
public void createClassLoaders(java.net.URL[] urls)
throws java.lang.Exception
java.lang.Exception
public void createClassLoaders(MBeanServer server,
java.net.URL lUrl,
java.io.File libfiles)
throws java.lang.Exception
java.lang.Exceptionpublic ObjectName getTopRepositoryName()
public java.util.jar.Manifest getManifest()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object other)
equals in class java.lang.Objectother -
public java.lang.String toString()
toString in class java.lang.Objectpublic static java.lang.String getShortName(java.lang.String name)
name -
public void setDeployer(Deployer deployer)
deployer - public Deployer getDeployer()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||