Java Doc for MessageDrivenBean.java in  » J2EE » openejb3 » org » apache » openejb » jee » 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 » openejb3 » org.apache.openejb.jee 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.openejb.jee.MessageDrivenBean

MessageDrivenBean
public class MessageDrivenBean implements EnterpriseBean,TimerConsumer(Code)
The message-driven element declares a message-driven bean. The declaration consists of:

- an optional description - an optional display name - an optional icon element that contains a small and a large icon file name. - a name assigned to the enterprise bean in the deployment descriptor - an optional mapped-name element that can be used to provide vendor-specific deployment information such as the physical jndi-name of destination from which this message-driven bean should consume. This element is not required to be supported by all implementations. Any use of this element is non-portable. - the message-driven bean's implementation class - an optional declaration of the bean's messaging type - an optional declaration of the bean's timeout method. - the optional message-driven bean's transaction management type. If it is not defined, it is defaulted to Container. - an optional declaration of the bean's message-destination-type - an optional declaration of the bean's message-destination-link - an optional declaration of the message-driven bean's activation configuration properties - an optional list of the message-driven bean class and/or superclass around-invoke methods. - an optional declaration of the bean's environment entries - an optional declaration of the bean's EJB references - an optional declaration of the bean's local EJB references - an optional declaration of the bean's web service references - an optional declaration of the security identity to be used for the execution of the bean's methods - an optional declaration of the bean's resource manager connection factory references - an optional declaration of the bean's resource environment references. - an optional declaration of the bean's message destination references



Field Summary
protected  ActivationConfigactivationConfig
    
protected  List<AroundInvoke>aroundInvoke
    
protected  TextMapdescription
    
protected  TextMapdisplayName
    
protected  StringejbClass
    
protected  KeyedCollection<String, EjbLocalRef>ejbLocalRef
    
protected  StringejbName
    
protected  KeyedCollection<String, EjbRef>ejbRef
    
protected  KeyedCollection<String, EnvEntry>envEntry
    
protected  LocalCollection<Icon>icon
    
protected  Stringid
    
protected  StringmappedName
    
protected  StringmessageDestinationLink
    
protected  KeyedCollection<String, MessageDestinationRef>messageDestinationRef
    
protected  StringmessageDestinationType
    
protected  MessageDrivenDestinationmessageDrivenDestination
    
protected  StringmessagingType
    
protected  KeyedCollection<String, PersistenceContextRef>persistenceContextRef
    
protected  KeyedCollection<String, PersistenceUnitRef>persistenceUnitRef
    
protected  List<LifecycleCallback>postConstruct
    
protected  List<LifecycleCallback>preDestroy
    
protected  KeyedCollection<String, ResourceEnvRef>resourceEnvRef
    
protected  KeyedCollection<String, ResourceRef>resourceRef
    
protected  SecurityIdentitysecurityIdentity
    
protected  KeyedCollection<String, ServiceRef>serviceRef
    
protected  NamedMethodtimeoutMethod
    
protected  TransactionTypetransactionType
    

Constructor Summary
public  MessageDrivenBean()
    
public  MessageDrivenBean(String ejbName)
    

Method Summary
public  voidaddAroundInvoke(String method)
    
public  voidaddPostConstruct(String method)
    
public  voidaddPreDestroy(String method)
    
public  ActivationConfiggetActivationConfig()
    
public  List<AroundInvoke>getAroundInvoke()
    
public  StringgetDescription()
    
public  Text[]getDescriptions()
    
public  StringgetDisplayName()
    
public  Text[]getDisplayNames()
    
public  StringgetEjbClass()
    
public  Collection<EjbLocalRef>getEjbLocalRef()
    
public  Map<String, EjbLocalRef>getEjbLocalRefMap()
    
public  StringgetEjbName()
    
public  Collection<EjbRef>getEjbRef()
    
public  Map<String, EjbRef>getEjbRefMap()
    
public  Collection<EnvEntry>getEnvEntry()
    
public  Map<String, EnvEntry>getEnvEntryMap()
    
public  IcongetIcon()
    
public  Map<String, Icon>getIconMap()
    
public  Collection<Icon>getIcons()
    
public  StringgetId()
    
public  StringgetJndiConsumerName()
    
public  StringgetMappedName()
    
public  StringgetMessageDestinationLink()
     The Assembler sets the value to reflect the flow of messages between producers and consumers in the application.

The value must be the message-destination-name of a message destination in the same Deployment File or in another Deployment File in the same Java EE application unit.

Alternatively, the value may be composed of a path name specifying a Deployment File containing the referenced message destination with the message-destination-name of the destination appended and separated from the path name by "#".

public  Collection<MessageDestinationRef>getMessageDestinationRef()
    
public  Map<String, MessageDestinationRef>getMessageDestinationRefMap()
    
public  StringgetMessageDestinationType()
    
public  MessageDrivenDestinationgetMessageDrivenDestination()
    
public  StringgetMessagingType()
    
public  Collection<PersistenceContextRef>getPersistenceContextRef()
    
public  Map<String, PersistenceContextRef>getPersistenceContextRefMap()
    
public  Collection<PersistenceUnitRef>getPersistenceUnitRef()
    
public  Map<String, PersistenceUnitRef>getPersistenceUnitRefMap()
    
public  List<LifecycleCallback>getPostConstruct()
    
public  List<LifecycleCallback>getPreDestroy()
    
public  Collection<ResourceEnvRef>getResourceEnvRef()
    
public  Map<String, ResourceEnvRef>getResourceEnvRefMap()
    
public  Collection<ResourceRef>getResourceRef()
    
public  Map<String, ResourceRef>getResourceRefMap()
    
public  SecurityIdentitygetSecurityIdentity()
    
public  Collection<ServiceRef>getServiceRef()
    
public  Map<String, ServiceRef>getServiceRefMap()
    
public  NamedMethodgetTimeoutMethod()
    
public  TransactionTypegetTransactionType()
    
public  voidsetActivationConfig(ActivationConfig value)
    
public  voidsetDescriptions(Text[] text)
    
public  voidsetDisplayNames(Text[] text)
    
public  voidsetEjbClass(String value)
    
public  voidsetEjbName(String value)
     The ejb-nameType specifies an enterprise bean's name.
public  voidsetId(String value)
    
public  voidsetMappedName(String value)
    
public  voidsetMessageDestinationLink(String value)
    
public  voidsetMessageDestinationType(String value)
    
public  voidsetMessageDrivenDestination(MessageDrivenDestination value)
    
public  voidsetMessagingType(String value)
    
public  voidsetSecurityIdentity(SecurityIdentity value)
    
public  voidsetTimeoutMethod(NamedMethod value)
    
public  voidsetTransactionType(TransactionType value)
    

Field Detail
activationConfig
protected ActivationConfig activationConfig(Code)



aroundInvoke
protected List<AroundInvoke> aroundInvoke(Code)



description
protected TextMap description(Code)



displayName
protected TextMap displayName(Code)



ejbClass
protected String ejbClass(Code)



ejbLocalRef
protected KeyedCollection<String, EjbLocalRef> ejbLocalRef(Code)



ejbName
protected String ejbName(Code)



ejbRef
protected KeyedCollection<String, EjbRef> ejbRef(Code)



envEntry
protected KeyedCollection<String, EnvEntry> envEntry(Code)



icon
protected LocalCollection<Icon> icon(Code)



id
protected String id(Code)



mappedName
protected String mappedName(Code)



messageDestinationLink
protected String messageDestinationLink(Code)



messageDestinationRef
protected KeyedCollection<String, MessageDestinationRef> messageDestinationRef(Code)



messageDestinationType
protected String messageDestinationType(Code)



messageDrivenDestination
protected MessageDrivenDestination messageDrivenDestination(Code)



messagingType
protected String messagingType(Code)



persistenceContextRef
protected KeyedCollection<String, PersistenceContextRef> persistenceContextRef(Code)



persistenceUnitRef
protected KeyedCollection<String, PersistenceUnitRef> persistenceUnitRef(Code)



postConstruct
protected List<LifecycleCallback> postConstruct(Code)



preDestroy
protected List<LifecycleCallback> preDestroy(Code)



resourceEnvRef
protected KeyedCollection<String, ResourceEnvRef> resourceEnvRef(Code)



resourceRef
protected KeyedCollection<String, ResourceRef> resourceRef(Code)



securityIdentity
protected SecurityIdentity securityIdentity(Code)



serviceRef
protected KeyedCollection<String, ServiceRef> serviceRef(Code)



timeoutMethod
protected NamedMethod timeoutMethod(Code)



transactionType
protected TransactionType transactionType(Code)




Constructor Detail
MessageDrivenBean
public MessageDrivenBean()(Code)



MessageDrivenBean
public MessageDrivenBean(String ejbName)(Code)




Method Detail
addAroundInvoke
public void addAroundInvoke(String method)(Code)



addPostConstruct
public void addPostConstruct(String method)(Code)



addPreDestroy
public void addPreDestroy(String method)(Code)



getActivationConfig
public ActivationConfig getActivationConfig()(Code)



getAroundInvoke
public List<AroundInvoke> getAroundInvoke()(Code)



getDescription
public String getDescription()(Code)



getDescriptions
public Text[] getDescriptions()(Code)



getDisplayName
public String getDisplayName()(Code)



getDisplayNames
public Text[] getDisplayNames()(Code)



getEjbClass
public String getEjbClass()(Code)



getEjbLocalRef
public Collection<EjbLocalRef> getEjbLocalRef()(Code)



getEjbLocalRefMap
public Map<String, EjbLocalRef> getEjbLocalRefMap()(Code)



getEjbName
public String getEjbName()(Code)



getEjbRef
public Collection<EjbRef> getEjbRef()(Code)



getEjbRefMap
public Map<String, EjbRef> getEjbRefMap()(Code)



getEnvEntry
public Collection<EnvEntry> getEnvEntry()(Code)



getEnvEntryMap
public Map<String, EnvEntry> getEnvEntryMap()(Code)



getIcon
public Icon getIcon()(Code)



getIconMap
public Map<String, Icon> getIconMap()(Code)



getIcons
public Collection<Icon> getIcons()(Code)



getId
public String getId()(Code)



getJndiConsumerName
public String getJndiConsumerName()(Code)



getMappedName
public String getMappedName()(Code)



getMessageDestinationLink
public String getMessageDestinationLink()(Code)
The Assembler sets the value to reflect the flow of messages between producers and consumers in the application.

The value must be the message-destination-name of a message destination in the same Deployment File or in another Deployment File in the same Java EE application unit.

Alternatively, the value may be composed of a path name specifying a Deployment File containing the referenced message destination with the message-destination-name of the destination appended and separated from the path name by "#". The path name is relative to the Deployment File containing Deployment Component that is referencing the message destination. This allows multiple message destinations with the same name to be uniquely identified.




getMessageDestinationRef
public Collection<MessageDestinationRef> getMessageDestinationRef()(Code)



getMessageDestinationRefMap
public Map<String, MessageDestinationRef> getMessageDestinationRefMap()(Code)



getMessageDestinationType
public String getMessageDestinationType()(Code)



getMessageDrivenDestination
public MessageDrivenDestination getMessageDrivenDestination()(Code)



getMessagingType
public String getMessagingType()(Code)



getPersistenceContextRef
public Collection<PersistenceContextRef> getPersistenceContextRef()(Code)



getPersistenceContextRefMap
public Map<String, PersistenceContextRef> getPersistenceContextRefMap()(Code)



getPersistenceUnitRef
public Collection<PersistenceUnitRef> getPersistenceUnitRef()(Code)



getPersistenceUnitRefMap
public Map<String, PersistenceUnitRef> getPersistenceUnitRefMap()(Code)



getPostConstruct
public List<LifecycleCallback> getPostConstruct()(Code)



getPreDestroy
public List<LifecycleCallback> getPreDestroy()(Code)



getResourceEnvRef
public Collection<ResourceEnvRef> getResourceEnvRef()(Code)



getResourceEnvRefMap
public Map<String, ResourceEnvRef> getResourceEnvRefMap()(Code)



getResourceRef
public Collection<ResourceRef> getResourceRef()(Code)



getResourceRefMap
public Map<String, ResourceRef> getResourceRefMap()(Code)



getSecurityIdentity
public SecurityIdentity getSecurityIdentity()(Code)



getServiceRef
public Collection<ServiceRef> getServiceRef()(Code)



getServiceRefMap
public Map<String, ServiceRef> getServiceRefMap()(Code)



getTimeoutMethod
public NamedMethod getTimeoutMethod()(Code)



getTransactionType
public TransactionType getTransactionType()(Code)



setActivationConfig
public void setActivationConfig(ActivationConfig value)(Code)



setDescriptions
public void setDescriptions(Text[] text)(Code)



setDisplayNames
public void setDisplayNames(Text[] text)(Code)



setEjbClass
public void setEjbClass(String value)(Code)



setEjbName
public void setEjbName(String value)(Code)
The ejb-nameType specifies an enterprise bean's name. It is used by ejb-name elements. This name is assigned by the ejb-jar file producer to name the enterprise bean in the ejb-jar file's deployment descriptor. The name must be unique among the names of the enterprise beans in the same ejb-jar file.

There is no architected relationship between the used ejb-name in the deployment descriptor and the JNDI name that the Deployer will assign to the enterprise bean's home.

The name for an entity bean must conform to the lexical rules for an NMTOKEN.

Example:

EmployeeService




setId
public void setId(String value)(Code)



setMappedName
public void setMappedName(String value)(Code)



setMessageDestinationLink
public void setMessageDestinationLink(String value)(Code)



setMessageDestinationType
public void setMessageDestinationType(String value)(Code)



setMessageDrivenDestination
public void setMessageDrivenDestination(MessageDrivenDestination value)(Code)



setMessagingType
public void setMessagingType(String value)(Code)



setSecurityIdentity
public void setSecurityIdentity(SecurityIdentity value)(Code)



setTimeoutMethod
public void setTimeoutMethod(NamedMethod value)(Code)



setTransactionType
public void setTransactionType(TransactionType value)(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(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.