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

All known Subclasses:   org.objectweb.jonas_ejb.deployment.api.SessionStatelessDesc,  org.objectweb.jonas_ejb.deployment.api.SessionStatefulDesc,
SessionDesc
abstract public class SessionDesc extends BeanDesc (Code)
Base class to hold meta-information related to a session bean.
author:
   Christophe Ney [cney@batisseurs.com] : Initial developer
author:
   Helene Joanin : unsetting transaction attribute set to a default value.


Field Summary
 intsessionTimeout
    
protected  inttransactionType
    

Constructor Summary
public  SessionDesc(ClassLoader classLoader, Session ses, AssemblyDescriptor asd, JonasSession jSes, JLinkedList jMDRList, String filename)
     constructor: called when the DeploymentDescriptor is read.

Method Summary
public  voidcheck()
    
protected  voidcheckTxAttribute(MethodDesc md)
    
public  intgetSessionTimeout()
    
public  intgetTransactionType()
     Get session transaction management type.
public  booleanisBeanManagedTransaction()
     Returns true if bean managed transaction.
public  StringtoString()
    

Field Detail
sessionTimeout
int sessionTimeout(Code)



transactionType
protected int transactionType(Code)




Constructor Detail
SessionDesc
public SessionDesc(ClassLoader classLoader, Session ses, AssemblyDescriptor asd, JonasSession jSes, JLinkedList jMDRList, String filename) throws DeploymentDescException(Code)
constructor: called when the DeploymentDescriptor is read. Currently, called by both GenIC and createContainer.




Method Detail
check
public void check() throws DeploymentDescException(Code)
Check that the bean descriptor is valid
exception:
  DeploymentDescException - thrown for non-valid bean



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



getSessionTimeout
public int getSessionTimeout()(Code)
Get the session timeout value



getTransactionType
public int getTransactionType()(Code)
Get session transaction management type.
transaction type value withinBEAN_TRANSACTION_TYPE,CONTAINER_TRANSACTION_TYPE



isBeanManagedTransaction
public boolean isBeanManagedTransaction()(Code)
Returns true if bean managed transaction. (used by JOnAS Server)



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.