| 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
|
Method Summary | |
public void | addAroundInvoke(String method) | public void | addPostConstruct(String method) | public void | addPreDestroy(String method) | public ActivationConfig | getActivationConfig() | public List<AroundInvoke> | getAroundInvoke() | public String | getDescription() | public Text[] | getDescriptions() | public String | getDisplayName() | public Text[] | getDisplayNames() | public String | getEjbClass() | public Collection<EjbLocalRef> | getEjbLocalRef() | public Map<String, EjbLocalRef> | getEjbLocalRefMap() | public String | getEjbName() | public Collection<EjbRef> | getEjbRef() | public Map<String, EjbRef> | getEjbRefMap() | public Collection<EnvEntry> | getEnvEntry() | public Map<String, EnvEntry> | getEnvEntryMap() | public Icon | getIcon() | public Map<String, Icon> | getIconMap() | public Collection<Icon> | getIcons() | public String | getId() | public String | getJndiConsumerName() | public String | getMappedName() | public String | getMessageDestinationLink() 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 String | getMessageDestinationType() | public MessageDrivenDestination | getMessageDrivenDestination() | public String | getMessagingType() | 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 SecurityIdentity | getSecurityIdentity() | public Collection<ServiceRef> | getServiceRef() | public Map<String, ServiceRef> | getServiceRefMap() | public NamedMethod | getTimeoutMethod() | public TransactionType | getTransactionType() | public void | setActivationConfig(ActivationConfig value) | public void | setDescriptions(Text[] text) | public void | setDisplayNames(Text[] text) | public void | setEjbClass(String value) | public void | setEjbName(String value) The ejb-nameType specifies an enterprise bean's name. | public void | setId(String value) | public void | setMappedName(String value) | public void | setMessageDestinationLink(String value) | public void | setMessageDestinationType(String value) | public void | setMessageDrivenDestination(MessageDrivenDestination value) | public void | setMessagingType(String value) | public void | setSecurityIdentity(SecurityIdentity value) | public void | setTimeoutMethod(NamedMethod value) | public void | setTransactionType(TransactionType value) |
messageDestinationLink | protected String messageDestinationLink(Code) | | |
messageDestinationType | protected String messageDestinationType(Code) | | |
MessageDrivenBean | public MessageDrivenBean()(Code) | | |
MessageDrivenBean | public MessageDrivenBean(String ejbName)(Code) | | |
addAroundInvoke | public void addAroundInvoke(String method)(Code) | | |
addPostConstruct | public void addPostConstruct(String method)(Code) | | |
getDescriptions | public Text[] getDescriptions()(Code) | | |
getDisplayNames | public Text[] getDisplayNames()(Code) | | |
getJndiConsumerName | public String getJndiConsumerName()(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.
|
getMessageDestinationType | public String getMessageDestinationType()(Code) | | |
setDescriptions | public void setDescriptions(Text[] text)(Code) | | |
setDisplayNames | public void setDisplayNames(Text[] text)(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
|
setMessageDestinationLink | public void setMessageDestinationLink(String value)(Code) | | |
setMessageDestinationType | public void setMessageDestinationType(String value)(Code) | | |
setMessagingType | public void setMessagingType(String value)(Code) | | |
|
|