Java Doc for SessionStatelessDesc.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
      org.objectweb.jonas_ejb.deployment.api.SessionStatelessDesc

SessionStatelessDesc
public class SessionStatelessDesc extends SessionDesc (Code)
class to hold meta-information related to a stateless session bean.
author:
   Christophe Ney [cney@batisseurs.com] : Initial developer
author:
   Helene Joanin


Field Summary
protected  booleansingleton
     Singleton=True if only 1 SessionSwitch (and 1 Remote) when possible.

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

Method Summary
protected  intaddEJBMethodDesc(int len)
    
public  voidcheck()
    
public  StringgetFullWrpSEHomeName()
    
public  StringgetFullWrpServiceEndpointName()
    
public  StringgetJndiServiceEndpointName()
    
protected  ClassgetParentClass(String intfType)
     Returns the parent Class for a method given an interface type.
public  ClassgetServiceEndpointClass()
    
public  StringgetWrpSEHomeName()
    
public  StringgetWrpServiceEndpointName()
    
public  booleanisSingleton()
    
protected  voidloadExtraClasses(CommonEjb bd, ClassLoader classLoader)
    

Field Detail
singleton
protected boolean singleton(Code)
Singleton=True if only 1 SessionSwitch (and 1 Remote) when possible.




Constructor Detail
SessionStatelessDesc
public SessionStatelessDesc(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.
Parameters:
  classLoader - ClassLoader to load Bean's classes
Parameters:
  ses - XML Element for session standard deployment descriptor
Parameters:
  asd - Assembly Descriptor of the EjbJar
Parameters:
  jSes - XML Element for session jonas deployment descriptor
Parameters:
  filename - bean's jar filename
throws:
  DeploymentDescException - When SessionDesc cannot be instanciated




Method Detail
addEJBMethodDesc
protected int addEJBMethodDesc(int len) throws DeploymentDescException(Code)
Permit Methods addition from subtypes Protected method that need to be overridden in subclasses
Parameters:
  len - method array length new len value
throws:
  DeploymentDescException - when java reflection cannot be used onclasses



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



getFullWrpSEHomeName
public String getFullWrpSEHomeName()(Code)
Returns the fullWrpSEHomeName.



getFullWrpServiceEndpointName
public String getFullWrpServiceEndpointName()(Code)
Returns the fullWrpServiceEndpointName.



getJndiServiceEndpointName
public String getJndiServiceEndpointName()(Code)
jndi name where ServiceEndpoint interface will be binded



getParentClass
protected Class getParentClass(String intfType) throws DeploymentDescException(Code)
Returns the parent Class for a method given an interface type.
Parameters:
  intfType - type of the interface (Home/Remote/LocalHome/Local orServiceEndpoint) the parent class for a method given an interface type
throws:
  DeploymentDescException - when intfType is unknown



getServiceEndpointClass
public Class getServiceEndpointClass()(Code)
Returns the serviceEndpointClass.



getWrpSEHomeName
public String getWrpSEHomeName()(Code)
Returns the wrpSEHomeName.



getWrpServiceEndpointName
public String getWrpServiceEndpointName()(Code)
Returns the wrpServiceEndpointName.



isSingleton
public boolean isSingleton()(Code)
true for singleton session bean



loadExtraClasses
protected void loadExtraClasses(CommonEjb bd, ClassLoader classLoader) throws DeploymentDescException(Code)
load class for service-endpoint
Parameters:
  bd - XML Element representing EJB Descriptor
Parameters:
  classLoader - ClassLoader used to load classes
throws:
  DeploymentDescException - when a class cannot be loaded



Fields inherited from org.objectweb.jonas_ejb.deployment.api.SessionDesc
int sessionTimeout(Code)(Java Doc)
protected int transactionType(Code)(Java Doc)

Methods inherited from org.objectweb.jonas_ejb.deployment.api.SessionDesc
public void check() throws DeploymentDescException(Code)(Java Doc)
protected void checkTxAttribute(MethodDesc md) throws DeploymentDescException(Code)(Java Doc)
public int getSessionTimeout()(Code)(Java Doc)
public int getTransactionType()(Code)(Java Doc)
public boolean isBeanManagedTransaction()(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.