Java Doc for DeploymentInfo.java in  » EJB-Server-JBoss-4.2.1 » system » org » jboss » deployment » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » EJB Server JBoss 4.2.1 » system » org.jboss.deployment 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.jboss.deployment.DeploymentInfo

DeploymentInfo
public class DeploymentInfo implements Serializable(Code)
Service Deployment Info . Every deployment (even the J2EE ones) should be seen at some point as Service Deployment info
See Also:   org.jboss.system.Service
author:
   Marc Fleury
author:
   David Maplesden
author:
   David Jencks
author:
   Daniel Schulze
author:
   Christoph G. Jung
author:
   Scott Stark
version:
   $Revision: 57205 $



Field Summary
public  StringalternativeDD
    
public transient  URLClassLoaderannotationsCl
     A CL for preloading annotations, it should be made available in the deployment create step.
final public  Collectionclasspath
    
public transient  HashMapcontext
    
public  Datedate
    
public  ObjectNamedeployedObject
     The variable deployedObject can contain the MBean that is created through the deployment.
public transient  SubDeployerdeployer
    
public  Documentdocument
     Each Deployment is really mapping one to one to a XML document, here in its parsed form.
public  URLdocumentUrl
    
public  booleanisDirectory
    
public  booleanisScript
    
public  booleanisXML
    
public  longlastDeployed
    
public  longlastModified
    
public transient  URLClassLoaderlocalCl
     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.
public  URLlocalUrl
    
public transient  Manifestmanifest
     the manifest entry of the deployment (if any) manifest is not serializable ...
final public  Listmbeans
    
public transient  ObjectmetaData
    
public  DeploymentInfoparent
    
public  LoaderRepositoryConfigrepositoryConfig
    
public  StringshortName
    
public  booleansortedSubDeployments
    
public  DeploymentStatestate
    
public  Stringstatus
    
final public  SetsubDeployments
    
public transient  RepositoryClassLoaderucl
    
public  URLurl
    
public  URLwatch
    
public  StringwebContext
    

Constructor Summary
public  DeploymentInfo(URL url, DeploymentInfo parent, MBeanServer server)
    

Method Summary
public  voidaddLibraryJar(URL libJar)
     All library jars referenced through either the manifest references or sar classpaths are added to the root DeploymentInfo class loader.
public  voidcleanup()
    
public  voidcreateClassLoaders()
     Create a UnifiedClassLoader for the deployment that loads from the localUrl and uses its parent deployments url as its orignal url.
public  booleanequals(Object other)
    
public  StringgetCanonicalName()
     The sortName concatenated with the canonical names of all parents.
public  ManifestgetManifest()
    
public  MBeanServergetServer()
    
public  LoaderRepositoryConfiggetTopRepositoryConfig()
    
public  inthashCode()
    
public  voidsetRepositoryInfo(LoaderRepositoryConfig config)
     Set the UnifiedLoaderRepository info for the deployment.
public  voidsetServer(MBeanServer server)
    
public  StringtoString()
    

Field Detail
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



parent
public DeploymentInfo parent(Code)
And the subDeployments have a parent



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



state
public DeploymentState state(Code)
The current state of the deployment



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




Constructor Detail
DeploymentInfo
public DeploymentInfo(URL url, DeploymentInfo parent, MBeanServer server) throws DeploymentException(Code)
CTOR




Method Detail
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.



equals
public boolean equals(Object other)(Code)



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



getServer
public MBeanServer getServer()(Code)



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 -



setServer
public void setServer(MBeanServer server)(Code)



toString
public String toString()(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.