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

EjbMessageBean
public class EjbMessageBean extends EjbBean (Code)
Configuration for an ejb entity bean.

Inner Class :public class ActivationConfig
Inner Class :public static class ActivationConfigPropertyConfig
Inner Class :public class MessageDrivenDestination


Constructor Summary
public  EjbMessageBean(EjbConfig config, String ejbModuleName)
     Creates a new message bean configuration.

Method Summary
public  ActivationConfigcreateActivationConfig()
     Adds the activation config.
protected  BeanGeneratorcreateBeanGenerator()
     Creates the bean generator for the session bean.
public  MessageDrivenDestinationcreateMessageDrivenDestination()
    
public  AbstractServerdeployActivationSpecServer(EjbContainer ejbManager, JavaClassGenerator javaGen)
     Deploys the bean.
public  AbstractServerdeployMessageServer(EjbContainer ejbManager, JavaClassGenerator javaGen, ResourceAdapter ra, ActivationSpec spec)
     Deploys the bean.
public  AbstractServerdeployServer(EjbContainer ejbManager, JavaClassGenerator javaGen)
     Deploys the bean.
public  intgetAcknowledgeMode()
     Returns the acknowledge mode.
public  ConnectionFactorygetConnectionFactory()
     Returns the destination.
public  DestinationgetDestination()
     Returns the destination.
public  StringgetEJBKind()
     Returns the kind of bean.
public  StringgetSelector()
    
public  StringgetSubscriptionName()
    
public  voidinit()
    
public  voidinitIntrospect()
     Obtain and apply initialization from annotations.
protected  voidintrospect()
    
public  voidsetAcknowledgeMode(int acknowledgeMode)
     Set the acknowledge mode.
public  voidsetActivationSpec(ActivationSpec activationSpec)
     Sets the JCA activation spec.
public  voidsetConnectionFactory(JndiBuilder factory)
     Sets the connection factory.
public  voidsetConnectionFactoryValue(ConnectionFactory factory)
     Sets the connection factory.
public  voidsetDestination(Destination destination)
     Sets the JMS destination.
public  voidsetDestinationValue(Destination destination)
     Sets the JMS destination.
public  voidsetEJBClass(Class ejbClass)
     Sets the ejb implementation class.
public  voidsetMappedName(String mappedName)
    
public  voidsetMessageConsumerMax(int consumerMax)
     Sets the number of message consumers.
public  voidsetMessageDestinationLink(String messageDestinationLink)
    
public  voidsetMessageDestinationType(String type)
     Sets the JMS destination type.
public  voidsetMessagingType(Class messagingType)
    
public  voidsetResourceAdapter(String name)
    
public  voidsetSecurityIdentity(SecurityIdentity identity)
    
public  voidsetSelector(String selector)
     Set the message selector.
public  voidsetSubscriptionName(String subscriptionName)
     Set the message selector.
public  voidsetTransactionType(String type)
     Set true if the container handles transactions.


Constructor Detail
EjbMessageBean
public EjbMessageBean(EjbConfig config, String ejbModuleName)(Code)
Creates a new message bean configuration.




Method Detail
createActivationConfig
public ActivationConfig createActivationConfig()(Code)
Adds the activation config.



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



createMessageDrivenDestination
public MessageDrivenDestination createMessageDrivenDestination()(Code)
Creates the old EJB 2.0 message-driven-destination



deployActivationSpecServer
public AbstractServer deployActivationSpecServer(EjbContainer ejbManager, JavaClassGenerator javaGen) throws ClassNotFoundException(Code)
Deploys the bean.



deployMessageServer
public AbstractServer deployMessageServer(EjbContainer ejbManager, JavaClassGenerator javaGen, ResourceAdapter ra, ActivationSpec spec) throws ClassNotFoundException(Code)
Deploys the bean.



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



getAcknowledgeMode
public int getAcknowledgeMode()(Code)
Returns the acknowledge mode.



getConnectionFactory
public ConnectionFactory getConnectionFactory()(Code)
Returns the destination.



getDestination
public Destination getDestination()(Code)
Returns the destination.



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



getSelector
public String getSelector()(Code)
Returns the message selector



getSubscriptionName
public String getSubscriptionName()(Code)
Returns the durable subscription name



init
public void init() throws ConfigException(Code)
Initialize



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



introspect
protected void introspect()(Code)



setAcknowledgeMode
public void setAcknowledgeMode(int acknowledgeMode)(Code)
Set the acknowledge mode.



setActivationSpec
public void setActivationSpec(ActivationSpec activationSpec)(Code)
Sets the JCA activation spec.



setConnectionFactory
public void setConnectionFactory(JndiBuilder factory) throws ConfigException, NamingException(Code)
Sets the connection factory.



setConnectionFactoryValue
public void setConnectionFactoryValue(ConnectionFactory factory)(Code)
Sets the connection factory.



setDestination
public void setDestination(Destination destination) throws ConfigException(Code)
Sets the JMS destination.



setDestinationValue
public void setDestinationValue(Destination destination)(Code)
Sets the JMS destination.



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



setMappedName
public void setMappedName(String mappedName) throws ConfigException(Code)



setMessageConsumerMax
public void setMessageConsumerMax(int consumerMax) throws ConfigException(Code)
Sets the number of message consumers.



setMessageDestinationLink
public void setMessageDestinationLink(String messageDestinationLink) throws ConfigException, NamingException(Code)
Sets the JMS destination link



setMessageDestinationType
public void setMessageDestinationType(String type) throws ConfigException, NamingException(Code)
Sets the JMS destination type.



setMessagingType
public void setMessagingType(Class messagingType)(Code)



setResourceAdapter
public void setResourceAdapter(String name)(Code)



setSecurityIdentity
public void setSecurityIdentity(SecurityIdentity identity)(Code)



setSelector
public void setSelector(String selector)(Code)
Set the message selector.



setSubscriptionName
public void setSubscriptionName(String subscriptionName)(Code)
Set the message selector.



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.