| |
|
| java.lang.Object org.jboss.deployment.DeploymentInfo
alternativeDD | public String alternativeDD(Code) | | If this deployed as part of an EAR, there may be an alernative DD
|
annotationsCl | public transient URLClassLoader annotationsCl(Code) | | A CL for preloading annotations, it should be made available
in the deployment create step.
|
classpath | final public Collection classpath(Code) | | The classpath declared by this xml descriptor, needs entry *
|
context | public transient HashMap context(Code) | | An arbitrary map of state associated with the deployment
|
date | public Date date(Code) | | The initial construction timestamp
|
deployedObject | public ObjectName deployedObject(Code) | | The variable 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.
|
deployer | public transient SubDeployer deployer(Code) | | The subdeployer that handles the deployment
|
document | public Document document(Code) | | Each Deployment is really mapping one to one to a XML document, here in
its parsed form. A xerces document (org.apache.xerces.dom.DocumentImpl)
is serializable.
|
documentUrl | public URL documentUrl(Code) | | An optional URL to the URL of the document loaded
|
isDirectory | public boolean isDirectory(Code) | | Does the deployment url point to a directory
|
isScript | public boolean isScript(Code) | | Is this a stand-alone script
|
isXML | public boolean isXML(Code) | | Is this a stand-alone service descriptor
|
lastDeployed | public long lastDeployed(Code) | | The last system time the deployment inited by the MainDeployer
|
lastModified | public long lastModified(Code) | | use for "should we redeploy failed"
|
localCl | public transient URLClassLoader localCl(Code) | | 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 sure that we
use the local version. You must use the URLClassLoader.findResource method
to restrict loading to the deployment URL.
|
localUrl | public URL localUrl(Code) | | An optional URL to a local copy of the deployment
|
manifest | public transient Manifest manifest(Code) | | the manifest entry of the deployment (if any)
manifest is not serializable ... is only needed
at deployment time, so we mark it transient
|
mbeans | final public List mbeans(Code) | | The mbeans deployed
|
metaData | public transient Object metaData(Code) | | We can hold "typed" metadata, really an interpretation of the bare XML document
|
repositoryConfig | public LoaderRepositoryConfig repositoryConfig(Code) | | The configuration of the loader repository for this deployment
|
shortName | public String shortName(Code) | | The suffix of the deployment url
|
sortedSubDeployments | public boolean sortedSubDeployments(Code) | | Are the subdeploymets already sorted
|
status | public String status(Code) | | A free form status for the "state" can be Deployed/failed etc etc
|
subDeployments | final public Set subDeployments(Code) | | Anyone can have subdeployments
|
ucl | public transient RepositoryClassLoader ucl(Code) | | Unified CL is a global scope class loader *
|
url | public URL url(Code) | | the URL identifing this SDI *
|
watch | public URL watch(Code) | | The URL used to watch for changes when the deployment is unpacked
|
webContext | public String webContext(Code) | | the web root context in case of war file
|
addLibraryJar | public void addLibraryJar(URL libJar)(Code) | | All library jars referenced through either the manifest references
or sar classpaths are added to the root DeploymentInfo class loader. This
is neccessary to avoid IllegalAccessErrors due to classes in a pkg
being split across jars
|
cleanup | public void cleanup()(Code) | | |
createClassLoaders | public void createClassLoaders() throws Exception(Code) | | Create a UnifiedClassLoader for the deployment that loads from
the localUrl and uses its parent deployments url as its orignal
url. Previously xml descriptors simply used the TCL but since the UCLs
are now registered as mbeans each must be unique.
|
getCanonicalName | public String getCanonicalName()(Code) | | The sortName concatenated with the canonical names of all parents.
|
getManifest | public Manifest getManifest()(Code) | | getManifest returns (if present) the deployment's manifest
it is lazy loaded to work from the localURL
|
getTopRepositoryConfig | public LoaderRepositoryConfig getTopRepositoryConfig()(Code) | | The the class loader repository name of the top most DeploymentInfo
|
hashCode | public int hashCode()(Code) | | |
setRepositoryInfo | public void setRepositoryInfo(LoaderRepositoryConfig config) throws Exception(Code) | | Set the UnifiedLoaderRepository info for the deployment. This can only
be called for the parent deployment, and must be done early in the
Subdeployer init(DeploymentInfo) method prior to any class loading.
throws: Exception - |
|
|
|