Java Doc for DeploymentDesc.java in  » J2EE » JOnAS-4.8.6 » org » objectweb » jonas_ejb » deployment » api » 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 » J2EE » JOnAS 4.8.6 » org.objectweb.jonas_ejb.deployment.api 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.objectweb.jonas_lib.deployment.api.DescriptionGroupDesc
      org.objectweb.jonas_ejb.deployment.api.DeploymentDesc

All known Subclasses:   org.objectweb.jonas_ejb.deployment.api.DeploymentDescEjb1_1,  org.objectweb.jonas_ejb.deployment.api.DeploymentDescEjb2,
DeploymentDesc
abstract public class DeploymentDesc extends DescriptionGroupDesc (Code)
Class to hold meta-information related to the deployment of an ejb-jar
author:
   Christophe Ney [cney@batisseurs.com] : Initial developer
author:
   Helene Joanin
author:
   Philippe Durieux
author:
   Markus Karg (Novell port)
author:
   Philippe Coq


Field Summary
protected  AssemblyDescriptorasd
    
protected  HashMapbeanDesc
    
protected  StringejbClientJar
    
protected  StringfileName
    
protected  JLinkedListjonasMDList
    
protected  Loggerlogger
    
protected  StringspecVersion
    

Constructor Summary
public  DeploymentDesc(ClassLoader classLoader, EjbJar ejbJar, JonasEjbJar jonasEjbJar, Logger l, String fileName)
     Build the Meta-Information from the XML data binding trees containing the EJB and JOnAS deployment descriptors.

Method Summary
public  EntityCmp2Descasn2BeanDesc(String asn)
    
public  BeanDesc[]getBeanDesc()
    
public  BeanDescgetBeanDesc(String ejbName)
    
public  IteratorgetBeanDescIterator()
    
public  BeanDescgetBeanDescWithLocalInterface(String itfLocalName)
    
public  StringgetDisplayName()
    
public  StringgetEjbClientJar()
    
public  ExcludeListDescgetExcludeListDesc()
    
public  StringgetJOnASXmlContent()
    
public  JonasMessageDestinationgetJonasMessageDestination(String mdLink)
    
public  LoggergetLogger()
    
public  booleangetMessageDestination(String mdLink)
    
public  ListgetMethodPermissionsDescList()
    
public  String[]getRolesForRunAsPrincipal(String principalName)
    
public  StringgetXmlContent()
    
abstract protected  BeanDescnewEntityBeanDesc(ClassLoader cl, Entity ent, AssemblyDescriptor asd, JonasEntity j, JLinkedList jMDRList)
     In case of beans with old CMP1 persistance, we need to instanciate the old class, as if we were in an old Deployment Descriptor.
public  voidsetJOnASXmlContent(String jonasXmlContent)
    
public  voidsetLogger(Logger logger)
    
public  voidsetXmlContent(String xmlContent)
    
public  StringtoString()
    

Field Detail
asd
protected AssemblyDescriptor asd(Code)
Assembly descriptor



beanDesc
protected HashMap beanDesc(Code)
Set of enterprise beans deployment descriptors



ejbClientJar
protected String ejbClientJar(Code)
Deployment desc's file name (jar or directory)



fileName
protected String fileName(Code)
Deployment desc's file name (jar or directory)



jonasMDList
protected JLinkedList jonasMDList(Code)
List of JonasMessageDestinations



logger
protected Logger logger(Code)
Logger



specVersion
protected String specVersion(Code)
Ejb spec version




Constructor Detail
DeploymentDesc
public DeploymentDesc(ClassLoader classLoader, EjbJar ejbJar, JonasEjbJar jonasEjbJar, Logger l, String fileName) throws DeploymentDescException(Code)
Build the Meta-Information from the XML data binding trees containing the EJB and JOnAS deployment descriptors.
Parameters:
  classLoader - The Class Loader to be used
Parameters:
  ejbJar - The EjbJar information, from standard deployment descriptor.
Parameters:
  jonasEjbJar - The JonasEjbJar information, from JOnAS specific deployment descriptor.
Parameters:
  l - The logger to be used for tracing
Parameters:
  fileName - deployment desc's jar or directory name
throws:
  DeploymentDescException - Cannot deploy bean




Method Detail
asn2BeanDesc
public EntityCmp2Desc asn2BeanDesc(String asn)(Code)
Get bean descriptor given its abstract schema name
Parameters:
  asn - Abstract Schema Name null if it doesn't exist.



getBeanDesc
public BeanDesc[] getBeanDesc()(Code)
Get descriptors for all beans contained in jar file Array of bean's descriptors



getBeanDesc
public BeanDesc getBeanDesc(String ejbName)(Code)
Get bean descriptor given its name
Parameters:
  ejbName - the name of the bean in the Deployment Descriptor bean descriptor given its name



getBeanDescIterator
public Iterator getBeanDescIterator()(Code)
Get an Iterator on the Bean Desc list Iterator on BeanDesc



getBeanDescWithLocalInterface
public BeanDesc getBeanDescWithLocalInterface(String itfLocalName)(Code)
Get bean descriptor given its interface local name
Parameters:
  itfLocalName - local interface name null if it doesn't exist.



getDisplayName
public String getDisplayName()(Code)
Get the display name the Display name string, from the deployment descriptor.



getEjbClientJar
public String getEjbClientJar()(Code)
Get the ejb-client-jar name the ejb-client-jar string, from the deployment descriptor (may be null).



getExcludeListDesc
public ExcludeListDesc getExcludeListDesc()(Code)
Get the exclude list of the assembly descriptor the exclude list of the assembly descriptor



getJOnASXmlContent
public String getJOnASXmlContent()(Code)
Return the content of the jonas-web.xml file the content of the jonas-web.xml file



getJonasMessageDestination
public JonasMessageDestination getJonasMessageDestination(String mdLink)(Code)
Get the JOnAS message destination for the given name
Parameters:
  mdLink - the name of the message destination link in the Deployment Descriptor the jonas message destination given the name



getLogger
public Logger getLogger()(Code)
get the current logger the Logger



getMessageDestination
public boolean getMessageDestination(String mdLink)(Code)
Find the JOnAS message destination for the given name
Parameters:
  mdLink - the name of the message destination link in the Deployment Descriptor boolean if link was found



getMethodPermissionsDescList
public List getMethodPermissionsDescList()(Code)
Get the list of the methodPermissionDesc objects which represent method-permission elements in assembly-descriptor the list of methodPermissionDesc objects



getRolesForRunAsPrincipal
public String[] getRolesForRunAsPrincipal(String principalName)(Code)
Gets the Mapping for run-as principal
Parameters:
  principalName - name of the run-as principal array of roles



getXmlContent
public String getXmlContent()(Code)
Return the content of the web.xml file the content of the web.xml file



newEntityBeanDesc
abstract protected BeanDesc newEntityBeanDesc(ClassLoader cl, Entity ent, AssemblyDescriptor asd, JonasEntity j, JLinkedList jMDRList) throws DeploymentDescException(Code)
In case of beans with old CMP1 persistance, we need to instanciate the old class, as if we were in an old Deployment Descriptor. Default is CMP2.x for entity beans with a EJB2.0 DD.
Parameters:
  cl - The ClassLoader to be used
Parameters:
  ent - Entity MetaInformation from XML files
Parameters:
  asd - AssemblyDescriptor MetaInformation from XML files
Parameters:
  j - JonasEntity MetaInformation from XML files
Parameters:
  jMDRList - MessageDrivenRef list The Entity Bean Descriptor, for the good CMP version.
throws:
  DeploymentDescException - Cannot build Entity Descriptor



setJOnASXmlContent
public void setJOnASXmlContent(String jonasXmlContent)(Code)

Parameters:
  jonasXmlContent - XML Content



setLogger
public void setLogger(Logger logger)(Code)
set the current logger
Parameters:
  logger - the Logger



setXmlContent
public void setXmlContent(String xmlContent)(Code)

Parameters:
  xmlContent - XML Content



toString
public String toString()(Code)
String representation of the object for test purpose String representation of this object



Fields inherited from org.objectweb.jonas_lib.deployment.api.DescriptionGroupDesc
protected String description(Code)(Java Doc)
protected String displayName(Code)(Java Doc)
protected String largeIcon(Code)(Java Doc)
protected String smallIcon(Code)(Java Doc)

Methods inherited from org.objectweb.jonas_lib.deployment.api.DescriptionGroupDesc
public String getDescription()(Code)(Java Doc)
public String getDisplayName()(Code)(Java Doc)
public String getLargeIcon()(Code)(Java Doc)
protected static String getSAXMsg(String fileName, SAXParseException exception, String msg)(Code)(Java Doc)
public String getSmallIcon()(Code)(Java Doc)
abstract public String toString()(Code)(Java Doc)

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.