Java Doc for EntityCmp2Desc.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) 


org.objectweb.jonas_ejb.deployment.api.BeanDesc
   org.objectweb.jonas_ejb.deployment.api.EntityDesc
      org.objectweb.jonas_ejb.deployment.api.EntityCmpDesc
         org.objectweb.jonas_ejb.deployment.api.EntityCmp2Desc

All known Subclasses:   org.objectweb.jonas_ejb.deployment.api.EntityJdbcCmp2Desc,
EntityCmp2Desc
abstract public class EntityCmp2Desc extends EntityCmpDesc (Code)
Class to hold meta-information related to an entity of type CMP version 2. Created on Jun 24, 2002
author:
   Christophe Ney [cney@batisseurs.com] : Initial developper
author:
   Helene Joanin : code cleanup on May 2003
author:
   Helene Joanin : complement for legacy first version on May 2003


Field Summary
protected  StringabstractSchemaName
    
protected  DeploymentDescEjb2dc2d
    
protected  StringfactoryClassName
    

Constructor Summary
public  EntityCmp2Desc(ClassLoader classLoader, Entity ent, AssemblyDescriptor asd, JonasEntity jEnt, DeploymentDescEjb2 dc2d, JLinkedList jMDRList, String fileName)
     constructor: called when the DeploymentDescriptor is read.

Method Summary
public  voidaddEjbRelationshipRoleDesc(EjbRelationshipRoleDesc ersrd)
    
public  voidaddToJormList(MetaObject jobject)
    
public  StringgetAbstractSchemaName()
    
public  DeploymentDescEjb2getDeploymentDescEjb2()
    
public  EjbRelationshipRoleDescgetEjbRelationshipRoleDesc(String cmr)
     Get the EjbRelationshipRoleDesc corresponding to the given cmr field name.
public  IteratorgetEjbRelationshipRoleDescIterator()
     Get Iterator on meta-info for all relationships for which the bean is involved in.
public  StringgetFactoryClassName()
     It retrieves the class name of the generated Jorm mapping.
public  StringgetJormAccessorClassName()
     It retrieves the class name of the generated Jorm accessor interface.
public  StringgetJormBinderClassName()
     It retrieves the class name of the generated Jorm Binder.
public  StringgetJormBindingClassName()
     It retrieves the class name of the generated Jorm binding.
public  StringgetJormClassName()
     Get the Jorm Fully Qualified Class name in JOrm Meta Info It is built from the Abstract Shema Name.
public  StringgetJormCoherenceHelperFQItfName()
    
public  StringgetJormCoherenceHelperItfName()
    
public  StringgetJormCoherenceHelperPackageName()
    
public  CollectiongetJormList()
    
public  StringgetJormPKClassName()
    
public  StringgetJormPNameGetterClassName()
     It retrieves the class name of the generated Jorm PNameGetter interface.
public  StringgetJormStateClassName()
     Return the class name of the generated Jorm state class.
public  booleanneedJormCoherenceHelper()
    
protected  MethodDescnewMethodDescInstance(Method meth, Class classDef, int index)
     Factory method for MethodDesc.
public  StringtoString()
    

Field Detail
abstractSchemaName
protected String abstractSchemaName(Code)



dc2d
protected DeploymentDescEjb2 dc2d(Code)



factoryClassName
protected String factoryClassName(Code)




Constructor Detail
EntityCmp2Desc
public EntityCmp2Desc(ClassLoader classLoader, Entity ent, AssemblyDescriptor asd, JonasEntity jEnt, DeploymentDescEjb2 dc2d, JLinkedList jMDRList, String fileName) throws DeploymentDescException(Code)
constructor: called when the DeploymentDescriptor is read. Currently, called by both GenIC and createContainer.




Method Detail
addEjbRelationshipRoleDesc
public void addEjbRelationshipRoleDesc(EjbRelationshipRoleDesc ersrd)(Code)
Add meta-info of a relationship in which the bean is involved



addToJormList
public void addToJormList(MetaObject jobject)(Code)
add a Jorm MetaObject in the list of Jorm Meta Objects to generate
Parameters:
  jobject - the Jorm MetaObject to add in the list



getAbstractSchemaName
public String getAbstractSchemaName()(Code)
getter for field abstractSchemaName



getDeploymentDescEjb2
public DeploymentDescEjb2 getDeploymentDescEjb2()(Code)



getEjbRelationshipRoleDesc
public EjbRelationshipRoleDesc getEjbRelationshipRoleDesc(String cmr)(Code)
Get the EjbRelationshipRoleDesc corresponding to the given cmr field name. Return null if it doesn't exist.



getEjbRelationshipRoleDescIterator
public Iterator getEjbRelationshipRoleDescIterator()(Code)
Get Iterator on meta-info for all relationships for which the bean is involved in.



getFactoryClassName
public String getFactoryClassName()(Code)
It retrieves the class name of the generated Jorm mapping. Used in the JContainer to instanciate the JEntityFactory the fully qualified class name



getJormAccessorClassName
public String getJormAccessorClassName()(Code)
It retrieves the class name of the generated Jorm accessor interface. Used in the templates the fully qualified class name



getJormBinderClassName
public String getJormBinderClassName()(Code)
It retrieves the class name of the generated Jorm Binder. Used in the Jorm Factory the fully qualified class name



getJormBindingClassName
public String getJormBindingClassName()(Code)
It retrieves the class name of the generated Jorm binding. Used by the JormFactory the fully qualified class name



getJormClassName
public String getJormClassName()(Code)
Get the Jorm Fully Qualified Class name in JOrm Meta Info It is built from the Abstract Shema Name. the Jorm Class Name



getJormCoherenceHelperFQItfName
public String getJormCoherenceHelperFQItfName()(Code)



getJormCoherenceHelperItfName
public String getJormCoherenceHelperItfName()(Code)



getJormCoherenceHelperPackageName
public String getJormCoherenceHelperPackageName()(Code)



getJormList
public Collection getJormList()(Code)
Get the list of Jorm MetaObjects to be generated a Collection of Jorm Meta Objects



getJormPKClassName
public String getJormPKClassName()(Code)
Retrieves the Jorm PK Class, in case of composite PK Used by Jorm to generate PNameGetter and Binder classes the fully qualified class name



getJormPNameGetterClassName
public String getJormPNameGetterClassName()(Code)
It retrieves the class name of the generated Jorm PNameGetter interface. Used in the templates to generate CMP2 classes. the fully qualified class name



getJormStateClassName
public String getJormStateClassName()(Code)
Return the class name of the generated Jorm state class. the fully qualified class name



needJormCoherenceHelper
public boolean needJormCoherenceHelper()(Code)
true if at least one relation



newMethodDescInstance
protected MethodDesc newMethodDescInstance(Method meth, Class classDef, int index)(Code)
Factory method for MethodDesc. Only method with EJBQL queries are of type MethodCmp2Desc



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



Fields inherited from org.objectweb.jonas_ejb.deployment.api.EntityCmpDesc
protected HashMap fieldDesc(Code)(Java Doc)
protected String jdbcAutomaticPkFieldName(Code)(Java Doc)
protected String primaryKeyField(Code)(Java Doc)

Methods inherited from org.objectweb.jonas_ejb.deployment.api.EntityCmpDesc
public FieldDesc getCmpFieldDesc(String fieldName)(Code)(Java Doc)
public Iterator getCmpFieldDescIterator()(Code)(Java Doc)
public String getJdbcAutomaticPkFieldName()(Code)(Java Doc)
public String getPrimaryKeyFieldName()(Code)(Java Doc)
public FieldDesc getSimplePkField()(Code)(Java Doc)
public String getSimplePkFieldName()(Code)(Java Doc)
public boolean hasPrimaryKeyField()(Code)(Java Doc)
public boolean hasSimplePkField()(Code)(Java Doc)
protected FieldDesc newFieldDescInstance()(Code)(Java Doc)
public String toString()(Code)(Java Doc)

Fields inherited from org.objectweb.jonas_ejb.deployment.api.EntityDesc
final public static int CLEANUP_CREATE(Code)(Java Doc)
final public static int CLEANUP_NONE(Code)(Java Doc)
final public static int CLEANUP_REMOVEALL(Code)(Java Doc)
final public static int CLEANUP_REMOVEDATA(Code)(Java Doc)
final public static int LOCK_CONTAINER_READ_COMMITTED(Code)(Java Doc)
final public static int LOCK_CONTAINER_READ_UNCOMMITTED(Code)(Java Doc)
final public static int LOCK_CONTAINER_READ_WRITE(Code)(Java Doc)
final public static int LOCK_CONTAINER_SERIALIZED(Code)(Java Doc)
final public static int LOCK_CONTAINER_SERIALIZED_TRANSACTED(Code)(Java Doc)
final public static int LOCK_DATABASE(Code)(Java Doc)
final public static int LOCK_READ_ONLY(Code)(Java Doc)
final protected static String METHODS_HOME_NO_TX(Code)(Java Doc)
final protected static String METHODS_REMOTE_NO_TX(Code)(Java Doc)
protected int cleanup(Code)(Java Doc)
protected int deadlockTimeout(Code)(Java Doc)
protected boolean hardLimit(Code)(Java Doc)
protected int inactivityTimeout(Code)(Java Doc)
protected boolean jdbcAutomaticPk(Code)(Java Doc)
protected int lockPolicy(Code)(Java Doc)
protected int maxWaitTime(Code)(Java Doc)
protected int passivationTimeout(Code)(Java Doc)
protected boolean pkObjectType(Code)(Java Doc)
protected boolean prefetch(Code)(Java Doc)
protected Class primaryKeyClass(Code)(Java Doc)
protected int readTimeout(Code)(Java Doc)
protected boolean reentrant(Code)(Java Doc)
protected boolean shared(Code)(Java Doc)

Methods inherited from org.objectweb.jonas_ejb.deployment.api.EntityDesc
protected void checkTxAttribute(MethodDesc md) throws DeploymentDescException(Code)(Java Doc)
public int getCleanupPolicy()(Code)(Java Doc)
public int getDeadlockTimeout()(Code)(Java Doc)
public int getInactivityTimeout()(Code)(Java Doc)
public int getLockPolicy()(Code)(Java Doc)
public int getMaxWaitTime()(Code)(Java Doc)
public int getPassivationTimeout()(Code)(Java Doc)
public Class getPrimaryKeyClass()(Code)(Java Doc)
public int getReadTimeout()(Code)(Java Doc)
public boolean isAutomaticPk()(Code)(Java Doc)
public boolean isHardLimit()(Code)(Java Doc)
public boolean isPrefetch()(Code)(Java Doc)
public boolean isReentrant()(Code)(Java Doc)
public boolean isShared()(Code)(Java Doc)
public boolean isUndefinedPK()(Code)(Java Doc)
public String toString()(Code)(Java Doc)

Fields inherited from org.objectweb.jonas_ejb.deployment.api.BeanDesc
final protected static int BEAN_TRANSACTION_TYPE(Code)(Java Doc)
final protected static int CONTAINER_TRANSACTION_TYPE(Code)(Java Doc)
final public static String GENERATED_PREFIX(Code)(Java Doc)
final protected static String[] TRANS(Code)(Java Doc)
protected String beanIdentification(Code)(Java Doc)
protected BeanFactory bf(Code)(Java Doc)
protected int cacheMax(Code)(Java Doc)
protected String clusterHomeDistributor(Code)(Java Doc)
protected String clusterRemoteDistributor(Code)(Java Doc)
protected boolean clusterReplicated(Code)(Java Doc)
protected DeploymentDesc deploymentDesc(Code)(Java Doc)
protected String derivedBeanName(Code)(Java Doc)
protected Properties ejb10EnvProps(Code)(Java Doc)
protected Class ejbClass(Code)(Java Doc)
protected String ejbName(Code)(Java Doc)
protected String ejbTimeoutSignature(Code)(Java Doc)
protected String fullDerivedBeanName(Code)(Java Doc)
protected Class home(Code)(Java Doc)
protected String jndiLocalName(Code)(Java Doc)
protected String jndiName(Code)(Java Doc)
protected Class local(Code)(Java Doc)
protected Class localhome(Code)(Java Doc)
protected Logger logger(Code)(Java Doc)
protected int poolMin(Code)(Java Doc)
protected Class remote(Code)(Java Doc)
protected List securityRoleRefDescList(Code)(Java Doc)
protected int timerTxAttribute(Code)(Java Doc)

Methods inherited from org.objectweb.jonas_ejb.deployment.api.BeanDesc
protected int addEJBMethodDesc(int len) throws DeploymentDescException(Code)(Java Doc)
protected MethodDesc addMethodDesc(java.lang.reflect.Method meth, Class classDef)(Code)(Java Doc)
public void check() throws DeploymentDescException(Code)(Java Doc)
public void checkRemoteException(java.lang.reflect.Method m, boolean shouldThrow) throws DeploymentDescException(Code)(Java Doc)
public void checkRunAsMapping() throws DeploymentDescException(Code)(Java Doc)
abstract protected void checkTxAttribute(MethodDesc md) throws DeploymentDescException(Code)(Java Doc)
public void checkValidTypesForRmi(java.lang.reflect.Method m)(Code)(Java Doc)
public BeanFactory getBeanFactory()(Code)(Java Doc)
public int getCacheMax()(Code)(Java Doc)
public String getClusterHomeDistributor()(Code)(Java Doc)
public String getClusterRemoteDistributor()(Code)(Java Doc)
public DeploymentDesc getDeploymentDesc()(Code)(Java Doc)
public String getDerivedBeanName()(Code)(Java Doc)
public Properties getEjb10Environment()(Code)(Java Doc)
public Class getEjbClass()(Code)(Java Doc)
public String getEjbName()(Code)(Java Doc)
public String getEjbTimeoutSignature()(Code)(Java Doc)
public String getFullDerivedBeanName()(Code)(Java Doc)
public String getFullWrpHandleName()(Code)(Java Doc)
public String getFullWrpHomeName()(Code)(Java Doc)
public String getFullWrpLocalHomeName()(Code)(Java Doc)
public String getFullWrpLocalName()(Code)(Java Doc)
public String getFullWrpRemoteName()(Code)(Java Doc)
protected String getHashCodeForIdentifier()(Code)(Java Doc)
public Class getHomeClass()(Code)(Java Doc)
public String getIdentifier()(Code)(Java Doc)
public String getJndiLocalName()(Code)(Java Doc)
public String getJndiName()(Code)(Java Doc)
public Class getLocalClass()(Code)(Java Doc)
public Class getLocalHomeClass()(Code)(Java Doc)
public MethodDesc getMethodDesc(java.lang.reflect.Method method)(Code)(Java Doc)
public MethodDesc getMethodDesc(int index)(Code)(Java Doc)
public Iterator getMethodDescIterator()(Code)(Java Doc)
protected Class getParentClass(String intfType) throws DeploymentDescException(Code)(Java Doc)
public int getPoolMin()(Code)(Java Doc)
public Class getRemoteClass()(Code)(Java Doc)
public String getRunAsPrincipalName()(Code)(Java Doc)
public String getRunAsRole()(Code)(Java Doc)
public SasComponent getSasComponent()(Code)(Java Doc)
public List getSecurityRoleRefDescList()(Code)(Java Doc)
public int getTimerTxAttribute()(Code)(Java Doc)
public String getWrpHandleName()(Code)(Java Doc)
public String getWrpHomeName()(Code)(Java Doc)
public String getWrpLocalHomeName()(Code)(Java Doc)
public String getWrpLocalName()(Code)(Java Doc)
public String getWrpRemoteName()(Code)(Java Doc)
public boolean hasDefinedLocalInterface()(Code)(Java Doc)
public boolean isClusterReplicated()(Code)(Java Doc)
protected void loadExtraClasses(CommonEjb ce, ClassLoader loader) throws DeploymentDescException(Code)(Java Doc)
protected MethodDesc newMethodDescInstance(java.lang.reflect.Method meth, Class classDef, int index)(Code)(Java Doc)
public void setBeanFactory(BeanFactory factory)(Code)(Java Doc)
public void setClusterReplicated(boolean replicated)(Code)(Java Doc)
public void setDeploymentDesc(DeploymentDesc deploymentDesc)(Code)(Java Doc)
public void setSasComponent(SasComponent sasComponent)(Code)(Java Doc)
public String toString()(Code)(Java Doc)
protected void verifyRoleName(AssemblyDescriptor asd) throws DeploymentDescException(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.