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

All known Subclasses:   org.objectweb.jonas_ejb.deployment.api.EntityCmpDesc,  org.objectweb.jonas_ejb.deployment.api.EntityBmpDesc,
EntityDesc
abstract public class EntityDesc extends BeanDesc (Code)
Base class to hold meta-information related to an entity bean.
author:
   Christophe Ney [cney@batisseurs.com] : Initial developer
author:
   Helene Joanin
author:
   Helene Joanin: take into account ejbSelect() methods.
author:
   Helene Joanin: unsetting transaction attribute set to a default value.


Field Summary
final public static  intCLEANUP_CREATE
    
final public static  intCLEANUP_NONE
    
final public static  intCLEANUP_REMOVEALL
    
final public static  intCLEANUP_REMOVEDATA
    
final public static  intLOCK_CONTAINER_READ_COMMITTED
    
final public static  intLOCK_CONTAINER_READ_UNCOMMITTED
    
final public static  intLOCK_CONTAINER_READ_WRITE
    
final public static  intLOCK_CONTAINER_SERIALIZED
    
final public static  intLOCK_CONTAINER_SERIALIZED_TRANSACTED
    
final public static  intLOCK_DATABASE
    
final public static  intLOCK_READ_ONLY
    
final protected static  StringMETHODS_HOME_NO_TX
    
final protected static  StringMETHODS_REMOTE_NO_TX
    
protected  intcleanup
    
protected  intdeadlockTimeout
    
protected  booleanhardLimit
    
protected  intinactivityTimeout
    
protected  booleanjdbcAutomaticPk
    
protected  intlockPolicy
    
protected  intmaxWaitTime
    
protected  intpassivationTimeout
    
protected  booleanpkObjectType
    
protected  booleanprefetch
    
protected  ClassprimaryKeyClass
     This field contains the class name of the factory instanciate by the container.
protected  intreadTimeout
    
protected  booleanreentrant
    
protected  booleanshared
    

Constructor Summary
public  EntityDesc(ClassLoader classLoader, Entity ent, AssemblyDescriptor asd, JonasEntity jEnt, JLinkedList jMDRList, String fileName)
    

Method Summary
protected  voidcheckTxAttribute(MethodDesc md)
    
public  intgetCleanupPolicy()
    
public  intgetDeadlockTimeout()
    
public  intgetInactivityTimeout()
    
public  intgetLockPolicy()
    
public  intgetMaxWaitTime()
    
public  intgetPassivationTimeout()
    
public  ClassgetPrimaryKeyClass()
     Get the entity's primary key class.
public  intgetReadTimeout()
    
public  booleanisAutomaticPk()
    
public  booleanisHardLimit()
    
public  booleanisPrefetch()
    
public  booleanisReentrant()
    
public  booleanisShared()
    
public  booleanisUndefinedPK()
    
public  StringtoString()
    

Field Detail
CLEANUP_CREATE
final public static int CLEANUP_CREATE(Code)



CLEANUP_NONE
final public static int CLEANUP_NONE(Code)



CLEANUP_REMOVEALL
final public static int CLEANUP_REMOVEALL(Code)



CLEANUP_REMOVEDATA
final public static int CLEANUP_REMOVEDATA(Code)



LOCK_CONTAINER_READ_COMMITTED
final public static int LOCK_CONTAINER_READ_COMMITTED(Code)



LOCK_CONTAINER_READ_UNCOMMITTED
final public static int LOCK_CONTAINER_READ_UNCOMMITTED(Code)



LOCK_CONTAINER_READ_WRITE
final public static int LOCK_CONTAINER_READ_WRITE(Code)



LOCK_CONTAINER_SERIALIZED
final public static int LOCK_CONTAINER_SERIALIZED(Code)



LOCK_CONTAINER_SERIALIZED_TRANSACTED
final public static int LOCK_CONTAINER_SERIALIZED_TRANSACTED(Code)



LOCK_DATABASE
final public static int LOCK_DATABASE(Code)



LOCK_READ_ONLY
final public static int LOCK_READ_ONLY(Code)



METHODS_HOME_NO_TX
final protected static String METHODS_HOME_NO_TX(Code)
home methods for which no transaction attribute is to be set



METHODS_REMOTE_NO_TX
final protected static String METHODS_REMOTE_NO_TX(Code)
remote methods for which no transaction attribute is to be set



cleanup
protected int cleanup(Code)



deadlockTimeout
protected int deadlockTimeout(Code)



hardLimit
protected boolean hardLimit(Code)



inactivityTimeout
protected int inactivityTimeout(Code)



jdbcAutomaticPk
protected boolean jdbcAutomaticPk(Code)



lockPolicy
protected int lockPolicy(Code)



maxWaitTime
protected int maxWaitTime(Code)



passivationTimeout
protected int passivationTimeout(Code)



pkObjectType
protected boolean pkObjectType(Code)



prefetch
protected boolean prefetch(Code)



primaryKeyClass
protected Class primaryKeyClass(Code)
This field contains the class name of the factory instanciate by the container.



readTimeout
protected int readTimeout(Code)



reentrant
protected boolean reentrant(Code)



shared
protected boolean shared(Code)




Constructor Detail
EntityDesc
public EntityDesc(ClassLoader classLoader, Entity ent, AssemblyDescriptor asd, JonasEntity jEnt, JLinkedList jMDRList, String fileName) throws DeploymentDescException(Code)
constructor to be used by parent node




Method Detail
checkTxAttribute
protected void checkTxAttribute(MethodDesc md) throws DeploymentDescException(Code)
check that trans-attribute is valid for bean



getCleanupPolicy
public int getCleanupPolicy()(Code)
the cleanup policy for this bean



getDeadlockTimeout
public int getDeadlockTimeout()(Code)
Get the deadlock timeout value



getInactivityTimeout
public int getInactivityTimeout()(Code)
Get the inactivity timeout value



getLockPolicy
public int getLockPolicy()(Code)
the lock policy for this bean



getMaxWaitTime
public int getMaxWaitTime()(Code)
Get the max wait time



getPassivationTimeout
public int getPassivationTimeout()(Code)
Get the passivation timeout value



getPrimaryKeyClass
public Class getPrimaryKeyClass()(Code)
Get the entity's primary key class. Class for the primary key



getReadTimeout
public int getReadTimeout()(Code)
Get the read timeout value



isAutomaticPk
public boolean isAutomaticPk()(Code)
Assessor for existence of automatic-pk element to True value
Parameters:
  field - public field of the bean class true if automatic-pk element value is true else otherwise false



isHardLimit
public boolean isHardLimit()(Code)
true for hard-limit entity bean



isPrefetch
public boolean isPrefetch()(Code)
true for prefetch entity bean



isReentrant
public boolean isReentrant()(Code)
Assessor for reentrant entity bean true for reentrant entity bean



isShared
public boolean isShared()(Code)
true for shared entity bean



isUndefinedPK
public boolean isUndefinedPK()(Code)
Assessor for primary key undefined (declare like java.lang.Object type)
Parameters:
  field - public field of the bean class true if primary key is undefined (java.lang.Object type)



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



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.