Java Doc for EjbSessionBean.java in  » EJB-Server-resin-3.1.5 » resin » com » caucho » ejb » cfg » 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 » EJB Server resin 3.1.5 » resin » com.caucho.ejb.cfg 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.caucho.ejb.cfg.EjbBean
   com.caucho.ejb.cfg.EjbSessionBean

All known Subclasses:   com.caucho.ejb.cfg.EjbStatefulBean,  com.caucho.ejb.cfg.EjbStatelessBean,
EjbSessionBean
public class EjbSessionBean extends EjbBean (Code)
Configuration for an ejb entity bean.



Constructor Summary
public  EjbSessionBean(EjbConfig ejbConfig, String ejbModuleName)
     Creates a new session bean configuration.

Method Summary
protected  voidaddImports(BeanAssembler assembler)
     Adds the assemblers.
protected  BeanAssemblercreateAssembler(String fullClassName)
     Creates the assembler for the bean.
protected  BeanGeneratorcreateBeanGenerator()
     Creates the bean generator for the session bean.
protected  EjbHomeViewcreateHomeView(ApiClass homeClass, String prefix)
     Creates the views.
public  AbstractServerdeployServer(EjbContainer ejbContainer, JavaClassGenerator javaGen)
     Deploys the bean.
public  StringgetEJBKind()
     Returns the kind of bean.
public  voidinit()
     Configure initialization.
public  voidinitIntrospect()
     Obtain and apply initialization from annotations.
public  booleanisContainerTransaction()
     Returns true if the container handles transactions.
public  booleanisStateless()
     Returns true if it's a stateless session bean.
public  voidsetEJBClass(Class type)
     Sets the ejb implementation class.
public  voidsetSessionType(String type)
     Set true if it's a stateless session bean.
public  voidsetTransactionType(String type)
     Set true if the container handles transactions.


Constructor Detail
EjbSessionBean
public EjbSessionBean(EjbConfig ejbConfig, String ejbModuleName)(Code)
Creates a new session bean configuration.




Method Detail
addImports
protected void addImports(BeanAssembler assembler)(Code)
Adds the assemblers.



createAssembler
protected BeanAssembler createAssembler(String fullClassName)(Code)
Creates the assembler for the bean.



createBeanGenerator
protected BeanGenerator createBeanGenerator()(Code)
Creates the bean generator for the session bean.



createHomeView
protected EjbHomeView createHomeView(ApiClass homeClass, String prefix) throws ConfigException(Code)
Creates the views.



deployServer
public AbstractServer deployServer(EjbContainer ejbContainer, JavaClassGenerator javaGen) throws ClassNotFoundException, ConfigException(Code)
Deploys the bean.



getEJBKind
public String getEJBKind()(Code)
Returns the kind of bean.



init
public void init() throws ConfigException(Code)
Configure initialization.



initIntrospect
public void initIntrospect() throws ConfigException(Code)
Obtain and apply initialization from annotations.



isContainerTransaction
public boolean isContainerTransaction()(Code)
Returns true if the container handles transactions.



isStateless
public boolean isStateless()(Code)
Returns true if it's a stateless session bean.



setEJBClass
public void setEJBClass(Class type) throws ConfigException(Code)
Sets the ejb implementation class.



setSessionType
public void setSessionType(String type) throws ConfigException(Code)
Set true if it's a stateless session bean.



setTransactionType
public void setTransactionType(String type) throws ConfigException(Code)
Set true if the container handles transactions.



Fields inherited from com.caucho.ejb.cfg.EjbBean
protected BeanGenerator _bean(Code)(Java Doc)
ArrayList<String> _beanDependList(Code)(Java Doc)
ArrayList<PersistentDependency> _configDependList(Code)(Java Doc)
ArrayList<PersistentDependency> _dependList(Code)(Java Doc)
protected boolean _isContainerTransaction(Code)(Java Doc)
protected ClassLoader _jClassLoader(Code)(Java Doc)
protected ApiClass _localHome(Code)(Java Doc)
protected ArrayList<ApiClass> _localList(Code)(Java Doc)
protected ArrayList<EjbMethodPattern> _methodList(Code)(Java Doc)
protected ApiClass _remoteHome(Code)(Java Doc)
protected ArrayList<ApiClass> _remoteList(Code)(Java Doc)

Methods inherited from com.caucho.ejb.cfg.EjbBean
public void addBeanDependency(String ejbName)(Code)(Java Doc)
public void addBuilderProgram(ConfigProgram init)(Code)(Java Doc)
public void addBusinessLocal(Class localClass)(Code)(Java Doc)
public void addBusinessRemote(Class remoteClass)(Code)(Java Doc)
public void addDepend(Path path)(Code)(Java Doc)
public void addDependency(PersistentDependency depend)(Code)(Java Doc)
public void addDependency(Class cl)(Code)(Java Doc)
public void addDependencyList(ArrayList<PersistentDependency> dependList)(Code)(Java Doc)
protected void addImports(BeanAssembler assembler)(Code)(Java Doc)
public void addInitProgram(ConfigProgram init)(Code)(Java Doc)
public void addInterceptor(Interceptor interceptor)(Code)(Java Doc)
public void addMethod(EjbMethodPattern method)(Code)(Java Doc)
public void addPostConstruct(PostConstructType postConstruct)(Code)(Java Doc)
public void addRemoveMethod(RemoveMethod removeMethod)(Code)(Java Doc)
public void assembleBeanMethods() throws ConfigException(Code)(Java Doc)
public GenClass assembleGenerator(String fullClassName) throws NoSuchMethodException, ConfigException(Code)(Java Doc)
protected void assembleHomeMethods(BeanAssembler assembler, BaseClass baseClass, String contextClassName, ApiClass homeClass, String prefix) throws NoSuchMethodException(Code)(Java Doc)
protected void assembleMethods(BeanAssembler assembler, String fullClassName) throws ConfigException(Code)(Java Doc)
protected void assembleMethods(BeanAssembler assembler, ViewClass view, String contextClassName, ArrayList<ApiMethod> methods, String prefix) throws NoSuchMethodException(Code)(Java Doc)
protected void assembleViews(BeanAssembler assembler, String fullClassName) throws ConfigException(Code)(Java Doc)
public boolean classHasMethod(ApiMethod method, ApiClass cl)(Code)(Java Doc)
public void configureAmber(AmberConfig config) throws ConfigException(Code)(Java Doc)
public boolean containsInterceptor(String interceptorClassName)(Code)(Java Doc)
protected BeanAssembler createAssembler(String fullClassName)(Code)(Java Doc)
protected BeanGenerator createBeanGenerator()(Code)(Java Doc)
protected EjbHomeView createHomeView(ApiClass homeClass, String prefix) throws ConfigException(Code)(Java Doc)
public MessageDestinationRef createMessageDestinationRef()(Code)(Java Doc)
public EjbMethodPattern createMethod(MethodSignature sig)(Code)(Java Doc)
protected EjbObjectView createObjectView(ArrayList<ApiClass> apiList, String prefix, String suffix) throws ConfigException(Code)(Java Doc)
protected EjbObjectView createRemoteObjectView(ArrayList<ApiClass> apiList, String prefix, String suffix) throws ConfigException(Code)(Java Doc)
protected void createViews21() throws ConfigException(Code)(Java Doc)
public AbstractServer deployServer(EjbContainer ejbContainer, JavaClassGenerator javaGen) throws ClassNotFoundException, ConfigException(Code)(Java Doc)
public ConfigException error(String msg)(Code)(Java Doc)
public RuntimeException error(Exception e)(Code)(Java Doc)
protected ApiMethod findFirstCreateMethod(ApiClass cl) throws ConfigException(Code)(Java Doc)
public static ApiMethod findMethod(MethodSignature sig, ApiClass cl, String intf)(Code)(Java Doc)
public static ApiMethod findMethod(ArrayList<ApiMethod> methods, ApiMethod method)(Code)(Java Doc)
Class findMissingException(ApiMethod method, Class[] exn) throws ConfigException(Code)(Java Doc)
public void generate(JavaClassGenerator javaGen, boolean isAutoCompile) throws Exception(Code)(Java Doc)
public String getAroundInvokeMethodName()(Code)(Java Doc)
public ArrayList<String> getBeanDependList()(Code)(Java Doc)
public ClassLoader getClassLoader()(Code)(Java Doc)
public static String getClassName(Class cl)(Code)(Java Doc)
public EjbConfig getConfig()(Code)(Java Doc)
public ArrayList<PersistentDependency> getDependList()(Code)(Java Doc)
public Class getEJBClass()(Code)(Java Doc)
public String getEJBClassName()(Code)(Java Doc)
public ApiClass getEJBClassWrapper()(Code)(Java Doc)
public String getEJBFullClassName()(Code)(Java Doc)
public String getEJBKind()(Code)(Java Doc)
public String getEJBModuleName()(Code)(Java Doc)
public String getEJBName()(Code)(Java Doc)
public EjbContainer getEjbContainer()(Code)(Java Doc)
public String getFilename()(Code)(Java Doc)
public String getFullImplName()(Code)(Java Doc)
public static String getFullMethodName(ApiMethod method)(Code)(Java Doc)
public static String getFullMethodName(String methodName, Class[] params)(Code)(Java Doc)
public ContainerProgram getInitProgram()(Code)(Java Doc)
public Interceptor getInterceptor(String interceptorClassName)(Code)(Java Doc)
public ArrayList<Interceptor> getInterceptors()(Code)(Java Doc)
public ArrayList<Interceptor> getInvokeInterceptors(String methodName)(Code)(Java Doc)
public int getLine()(Code)(Java Doc)
public ApiClass getLocalHome()(Code)(Java Doc)
public ArrayList<ApiClass> getLocalList()(Code)(Java Doc)
public String getLocation()(Code)(Java Doc)
public String getMappedName()(Code)(Java Doc)
public ApiMethod getMethod(String methodName, Class[] paramTypes)(Code)(Java Doc)
public static ApiMethod getMethod(ApiClass cl, ApiMethod sourceMethod)(Code)(Java Doc)
public static ApiMethod getMethod(ArrayList<ApiClass> apiList, String name, Class[] param)(Code)(Java Doc)
public static ApiMethod getMethod(ApiClass cl, String name, Class[] param)(Code)(Java Doc)
public ArrayList<EjbMethodPattern> getMethodList()(Code)(Java Doc)
public EjbMethodPattern getMethodPattern(ApiMethod method, String intf)(Code)(Java Doc)
public static ArrayList<ApiMethod> getMethods(ArrayList<ApiClass> apiList)(Code)(Java Doc)
public Class getRemoteClass()(Code)(Java Doc)
public ApiClass getRemoteHome()(Code)(Java Doc)
public Class getRemoteHomeClass()(Code)(Java Doc)
public ArrayList<ApiClass> getRemoteList()(Code)(Java Doc)
public RemoveMethod getRemoveMethod(Method method)(Code)(Java Doc)
public ArrayList<RemoveMethod> getRemoveMethods()(Code)(Java Doc)
public CallChain getSecurityChain(CallChain next, ApiMethod method, String prefix)(Code)(Java Doc)
public ContainerProgram getServerProgram()(Code)(Java Doc)
public static String getShortClassName(Class cl)(Code)(Java Doc)
public String getSkeletonName()(Code)(Java Doc)
public String getTimeoutMethodName()(Code)(Java Doc)
public TransactionAttributeType getTransactionAttribute(ApiMethod method, String intf)(Code)(Java Doc)
public CallChain getTransactionChain(CallChain next, ApiMethod apiMethod, ApiMethod implMethod, String prefix)(Code)(Java Doc)
public long getTransactionTimeout()(Code)(Java Doc)
public boolean hasException(ApiMethod method, Class exn) throws ConfigException(Code)(Java Doc)
public void init() throws ConfigException(Code)(Java Doc)
public void initIntrospect() throws ConfigException(Code)(Java Doc)
protected void introspect()(Code)(Java Doc)
protected void introspectBean(ApiClass type, String defaultName) throws ConfigException(Code)(Java Doc)
protected EjbBaseMethod introspectEJBMethod(ApiMethod method) throws ConfigException(Code)(Java Doc)
public boolean isAllowPOJO()(Code)(Java Doc)
public boolean isCMP()(Code)(Java Doc)
public boolean isCMP1()(Code)(Java Doc)
public boolean isContainerTransaction()(Code)(Java Doc)
public boolean isEJB3()(Code)(Java Doc)
public static boolean isEquiv(ApiMethod oldMethod, ApiMethod method)(Code)(Java Doc)
public static boolean isMatch(ApiMethod methodA, ApiMethod methodB)(Code)(Java Doc)
public static boolean isMatch(ApiMethod method, String name, Class[] param)(Code)(Java Doc)
protected Class loadClass(String className)(Code)(Java Doc)
public void setAllowPOJO(boolean allowPOJO)(Code)(Java Doc)
public void setAroundInvoke(AroundInvokeConfig aroundInvoke)(Code)(Java Doc)
public void setAroundInvokeMethodName(String aroundInvokeMethodName)(Code)(Java Doc)
public void setConfigLocation(String filename, int line)(Code)(Java Doc)
public void setContainerTransaction(boolean isContainerTransaction)(Code)(Java Doc)
public void setEJBClass(Class ejbClass) throws ConfigException(Code)(Java Doc)
public void setEJBClassWrapper(ApiClass ejbClass) throws ConfigException(Code)(Java Doc)
public void setEJBName(String ejbName)(Code)(Java Doc)
public void setHome(Class homeClass) throws ConfigException(Code)(Java Doc)
public void setInit(ContainerProgram init)(Code)(Java Doc)
public void setLocal(Class local) throws ConfigException(Code)(Java Doc)
public void setLocalHome(Class localHomeClass) throws ConfigException(Code)(Java Doc)
public void setLocalHomeWrapper(ApiClass localHome) throws ConfigException(Code)(Java Doc)
public void setLocalWrapper(ApiClass local) throws ConfigException(Code)(Java Doc)
public void setLocation(String location)(Code)(Java Doc)
public void setMappedName(String mappedName)(Code)(Java Doc)
public void setRemote(Class remote) throws ConfigException(Code)(Java Doc)
public void setRemoteHomeWrapper(ApiClass remoteHome) throws ConfigException(Code)(Java Doc)
public void setRemoteWrapper(ApiClass remote) throws ConfigException(Code)(Java Doc)
public void setSecurityIdentity(EjbSecurityIdentity securityIdentity)(Code)(Java Doc)
public void setTransactionTimeout(Period timeout)(Code)(Java Doc)
public String toString()(Code)(Java Doc)
public void validateException(ApiMethod method, Class e) throws ConfigException(Code)(Java Doc)
public void validateExceptions(ApiMethod method, Class[] exn) throws ConfigException(Code)(Java Doc)
public void validateExceptions(ApiMethod caller, ApiMethod callee) throws ConfigException(Code)(Java Doc)
protected void validateImplMethod(ApiMethod method) throws ConfigException(Code)(Java Doc)
protected ApiMethod validateMethod(String methodName, Class[] param) throws ConfigException(Code)(Java Doc)
protected ApiMethod validateMethod(String methodName, Class[] param, ApiMethod sourceMethod, ApiClass sourceClass) throws ConfigException(Code)(Java Doc)
protected ApiMethod validateMethod(String methodName, Class[] param, ApiMethod sourceMethod, ApiClass sourceClass, boolean isOptional) throws ConfigException(Code)(Java Doc)
protected ApiMethod validateNonFinalMethod(String methodName, Class[] param, boolean isOptional) throws ConfigException(Code)(Java Doc)
protected ApiMethod validateNonFinalMethod(String methodName, Class[] param) throws ConfigException(Code)(Java Doc)
protected ApiMethod validateNonFinalMethod(String methodName, Class[] param, ApiMethod sourceMethod, ApiClass sourceClass) throws ConfigException(Code)(Java Doc)
protected ApiMethod validateNonFinalMethod(String methodName, Class[] param, ApiMethod sourceMethod, ApiClass sourceClass, boolean isOptional) throws ConfigException(Code)(Java Doc)
protected void validatePublicMethod(ApiMethod method) throws ConfigException(Code)(Java Doc)
protected void validateRemote(ApiClass objectClass) throws ConfigException(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.