public class MessageDrivenBean extends java.lang.Object implements EnterpriseBean, TimerConsumer, Invokable
Java class for message-driven-beanType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="message-driven-beanType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <group ref="{http://java.sun.com/xml/ns/javaee}descriptionGroup"/> <element name="ejb-name" type="{http://java.sun.com/xml/ns/javaee}ejb-nameType"/> <element name="mapped-name" type="{http://java.sun.com/xml/ns/javaee}xsdStringType" minOccurs="0"/> <element name="ejb-class" type="{http://java.sun.com/xml/ns/javaee}ejb-classType" minOccurs="0"/> <element name="messaging-type" type="{http://java.sun.com/xml/ns/javaee}fully-qualified-classType" minOccurs="0"/> <element name="timeout-method" type="{http://java.sun.com/xml/ns/javaee}named-methodType" minOccurs="0"/> <element name="timer" type="{http://java.sun.com/xml/ns/javaee}timerType" maxOccurs="unbounded" minOccurs="0"/> <element name="transaction-type" type="{http://java.sun.com/xml/ns/javaee}transaction-typeType" minOccurs="0"/> <element name="message-destination-type" type="{http://java.sun.com/xml/ns/javaee}message-destination-typeType" minOccurs="0"/> <element name="message-destination-link" type="{http://java.sun.com/xml/ns/javaee}message-destination-linkType" minOccurs="0"/> <element name="activation-config" type="{http://java.sun.com/xml/ns/javaee}activation-configType" minOccurs="0"/> <element name="around-invoke" type="{http://java.sun.com/xml/ns/javaee}around-invokeType" maxOccurs="unbounded" minOccurs="0"/> <element name="around-timeout" type="{http://java.sun.com/xml/ns/javaee}around-timeoutType" maxOccurs="unbounded" minOccurs="0"/> <group ref="{http://java.sun.com/xml/ns/javaee}jndiEnvironmentRefsGroup"/> <element name="security-role-ref" type="{http://java.sun.com/xml/ns/javaee}security-role-refType" maxOccurs="unbounded" minOccurs="0"/> <element name="security-identity" type="{http://java.sun.com/xml/ns/javaee}security-identityType" minOccurs="0"/> </sequence> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" /> </restriction> </complexContent> </complexType>
Constructor and Description |
---|
MessageDrivenBean() |
MessageDrivenBean(java.lang.Class ejbClass) |
MessageDrivenBean(java.lang.String ejbName) |
MessageDrivenBean(java.lang.String ejbName,
java.lang.Class ejbClass) |
MessageDrivenBean(java.lang.String ejbName,
java.lang.String ejbClass) |
Modifier and Type | Method and Description |
---|---|
void |
addAroundInvoke(java.lang.String method) |
void |
addAroundTimeout(java.lang.String method) |
void |
addPostConstruct(java.lang.String method) |
void |
addPreDestroy(java.lang.String method) |
java.lang.String |
getAcknowledgeMode() |
ActivationConfig |
getActivationConfig() |
java.util.List<AroundInvoke> |
getAroundInvoke() |
java.util.List<AroundTimeout> |
getAroundTimeout() |
java.util.Map<java.lang.String,ContextService> |
getContextServiceMap() |
java.util.Collection<DataSource> |
getDataSource() |
java.util.Map<java.lang.String,DataSource> |
getDataSourceMap() |
java.lang.String |
getDescription() |
Text[] |
getDescriptions() |
java.lang.String |
getDisplayName() |
Text[] |
getDisplayNames() |
java.lang.String |
getEjbClass() |
java.util.Collection<EjbLocalRef> |
getEjbLocalRef() |
java.util.Map<java.lang.String,EjbLocalRef> |
getEjbLocalRefMap() |
java.lang.String |
getEjbName() |
java.util.Collection<EjbRef> |
getEjbRef() |
java.util.Map<java.lang.String,EjbRef> |
getEjbRefMap() |
java.util.Collection<EnvEntry> |
getEnvEntry() |
java.util.Map<java.lang.String,EnvEntry> |
getEnvEntryMap() |
Icon |
getIcon() |
java.util.Map<java.lang.String,Icon> |
getIconMap() |
java.util.Collection<Icon> |
getIcons() |
java.lang.String |
getId() |
java.util.Collection<JMSConnectionFactory> |
getJMSConnectionFactories() |
java.util.Map<java.lang.String,JMSConnectionFactory> |
getJMSConnectionFactoriesMap() |
java.util.Collection<JMSDestination> |
getJMSDestination() |
java.util.Map<java.lang.String,JMSDestination> |
getJMSDestinationMap() |
java.lang.String |
getJndiConsumerName() |
java.lang.String |
getMappedName() |
java.lang.String |
getMessageDestinationLink()
The Assembler sets the value to reflect the flow of messages
between producers and consumers in the application.
|
java.util.Collection<MessageDestinationRef> |
getMessageDestinationRef() |
java.util.Map<java.lang.String,MessageDestinationRef> |
getMessageDestinationRefMap() |
java.lang.String |
getMessageDestinationType() |
MessageDrivenDestination |
getMessageDrivenDestination() |
java.lang.String |
getMessageSelector() |
java.lang.String |
getMessagingType() |
java.util.Collection<PersistenceContextRef> |
getPersistenceContextRef() |
java.util.Map<java.lang.String,PersistenceContextRef> |
getPersistenceContextRefMap() |
java.util.Collection<PersistenceUnitRef> |
getPersistenceUnitRef() |
java.util.Map<java.lang.String,PersistenceUnitRef> |
getPersistenceUnitRefMap() |
java.util.List<LifecycleCallback> |
getPostConstruct() |
java.util.List<LifecycleCallback> |
getPreDestroy() |
java.util.Collection<ResourceEnvRef> |
getResourceEnvRef() |
java.util.Map<java.lang.String,ResourceEnvRef> |
getResourceEnvRefMap() |
java.util.Collection<ResourceRef> |
getResourceRef() |
java.util.Map<java.lang.String,ResourceRef> |
getResourceRefMap() |
SecurityIdentity |
getSecurityIdentity() |
java.util.List<SecurityRoleRef> |
getSecurityRoleRef() |
java.util.Collection<ServiceRef> |
getServiceRef() |
java.util.Map<java.lang.String,ServiceRef> |
getServiceRefMap() |
NamedMethod |
getTimeoutMethod() |
java.util.List<Timer> |
getTimer() |
java.lang.String |
getTimerConsumerName() |
TransactionType |
getTransactionType() |
void |
setAcknowledgeMode(java.lang.String acknowledgeMode) |
void |
setActivationConfig(ActivationConfig value) |
void |
setDescriptions(Text[] text) |
void |
setDisplayNames(Text[] text) |
void |
setEjbClass(java.lang.Class value) |
void |
setEjbClass(java.lang.String value) |
void |
setEjbName(java.lang.String value)
The ejb-nameType specifies an enterprise bean's name.
|
void |
setId(java.lang.String value) |
void |
setMappedName(java.lang.String value) |
void |
setMessageDestinationLink(java.lang.String value) |
void |
setMessageDestinationType(java.lang.String value) |
void |
setMessageDrivenDestination(MessageDrivenDestination value) |
void |
setMessageSelector(java.lang.String messageSelector) |
void |
setMessagingType(java.lang.Class value) |
void |
setMessagingType(java.lang.String value) |
void |
setSecurityIdentity(SecurityIdentity value) |
void |
setTimeoutMethod(NamedMethod value) |
void |
setTransactionType(TransactionType value) |
protected TextMap description
protected TextMap displayName
protected LocalCollection<Icon> icon
protected java.lang.String ejbName
protected java.lang.String mappedName
protected java.lang.String ejbClass
protected java.lang.String messagingType
protected NamedMethod timeoutMethod
protected java.util.List<Timer> timer
protected TransactionType transactionType
protected java.lang.String messageDestinationType
protected java.lang.String messageDestinationLink
protected ActivationConfig activationConfig
protected java.util.List<AroundInvoke> aroundInvoke
protected java.util.List<AroundTimeout> aroundTimeout
protected KeyedCollection<java.lang.String,EnvEntry> envEntry
protected KeyedCollection<java.lang.String,EjbRef> ejbRef
protected KeyedCollection<java.lang.String,EjbLocalRef> ejbLocalRef
protected KeyedCollection<java.lang.String,ServiceRef> serviceRef
protected KeyedCollection<java.lang.String,ResourceRef> resourceRef
protected KeyedCollection<java.lang.String,ResourceEnvRef> resourceEnvRef
protected KeyedCollection<java.lang.String,MessageDestinationRef> messageDestinationRef
protected KeyedCollection<java.lang.String,PersistenceContextRef> persistenceContextRef
protected KeyedCollection<java.lang.String,PersistenceUnitRef> persistenceUnitRef
protected KeyedCollection<java.lang.String,DataSource> dataSource
protected KeyedCollection<java.lang.String,JMSConnectionFactory> jmsConnectionFactories
protected KeyedCollection<java.lang.String,JMSDestination> jmsDestinations
protected java.util.List<LifecycleCallback> postConstruct
protected java.util.List<LifecycleCallback> preDestroy
protected java.util.List<SecurityRoleRef> securityRoleRef
protected SecurityIdentity securityIdentity
protected java.lang.String id
public MessageDrivenBean()
public MessageDrivenBean(java.lang.String ejbName)
public MessageDrivenBean(java.lang.String ejbName, java.lang.String ejbClass)
public MessageDrivenBean(java.lang.Class ejbClass)
public MessageDrivenBean(java.lang.String ejbName, java.lang.Class ejbClass)
public java.lang.String getJndiConsumerName()
getJndiConsumerName
in interface JndiConsumer
public Text[] getDescriptions()
public void setDescriptions(Text[] text)
public java.lang.String getDescription()
public Text[] getDisplayNames()
public void setDisplayNames(Text[] text)
public java.lang.String getDisplayName()
public java.util.Collection<Icon> getIcons()
public java.util.Map<java.lang.String,Icon> getIconMap()
public Icon getIcon()
public java.lang.String getEjbName()
getEjbName
in interface EnterpriseBean
public void setEjbName(java.lang.String value)
setEjbName
in interface EnterpriseBean
public java.lang.String getMappedName()
getMappedName
in interface EnterpriseBean
public void setMappedName(java.lang.String value)
setMappedName
in interface EnterpriseBean
public java.lang.String getEjbClass()
getEjbClass
in interface EnterpriseBean
public void setEjbClass(java.lang.String value)
setEjbClass
in interface EnterpriseBean
public void setEjbClass(java.lang.Class value)
setEjbClass
in interface EnterpriseBean
public java.lang.String getMessagingType()
public void setMessagingType(java.lang.String value)
public void setMessagingType(java.lang.Class value)
public NamedMethod getTimeoutMethod()
getTimeoutMethod
in interface TimerConsumer
public void setTimeoutMethod(NamedMethod value)
setTimeoutMethod
in interface TimerConsumer
public java.util.List<Timer> getTimer()
getTimer
in interface TimerConsumer
public MessageDrivenDestination getMessageDrivenDestination()
public void setMessageDrivenDestination(MessageDrivenDestination value)
public java.lang.String getMessageSelector()
public void setMessageSelector(java.lang.String messageSelector)
public java.lang.String getAcknowledgeMode()
public void setAcknowledgeMode(java.lang.String acknowledgeMode)
public TransactionType getTransactionType()
getTransactionType
in interface EnterpriseBean
public void setTransactionType(TransactionType value)
setTransactionType
in interface EnterpriseBean
public java.lang.String getMessageDestinationType()
public void setMessageDestinationType(java.lang.String value)
public java.lang.String getMessageDestinationLink()
public void setMessageDestinationLink(java.lang.String value)
public ActivationConfig getActivationConfig()
public void setActivationConfig(ActivationConfig value)
public java.util.List<AroundInvoke> getAroundInvoke()
getAroundInvoke
in interface Invokable
public void addAroundInvoke(java.lang.String method)
addAroundInvoke
in interface Invokable
public java.util.List<AroundTimeout> getAroundTimeout()
getAroundTimeout
in interface Invokable
public java.util.Collection<EnvEntry> getEnvEntry()
getEnvEntry
in interface JndiConsumer
public java.util.Map<java.lang.String,EnvEntry> getEnvEntryMap()
getEnvEntryMap
in interface JndiConsumer
public java.util.Collection<EjbRef> getEjbRef()
getEjbRef
in interface JndiConsumer
public java.util.Map<java.lang.String,EjbRef> getEjbRefMap()
getEjbRefMap
in interface JndiConsumer
public java.util.Collection<EjbLocalRef> getEjbLocalRef()
getEjbLocalRef
in interface JndiConsumer
public java.util.Map<java.lang.String,EjbLocalRef> getEjbLocalRefMap()
getEjbLocalRefMap
in interface JndiConsumer
public java.util.Collection<ServiceRef> getServiceRef()
getServiceRef
in interface JndiConsumer
public java.util.Map<java.lang.String,ServiceRef> getServiceRefMap()
getServiceRefMap
in interface JndiConsumer
public java.util.Collection<ResourceRef> getResourceRef()
getResourceRef
in interface JndiConsumer
public java.util.Map<java.lang.String,ResourceRef> getResourceRefMap()
getResourceRefMap
in interface JndiConsumer
public java.util.Collection<ResourceEnvRef> getResourceEnvRef()
getResourceEnvRef
in interface JndiConsumer
public java.util.Map<java.lang.String,ResourceEnvRef> getResourceEnvRefMap()
getResourceEnvRefMap
in interface JndiConsumer
public java.util.Collection<MessageDestinationRef> getMessageDestinationRef()
getMessageDestinationRef
in interface JndiConsumer
public java.util.Map<java.lang.String,MessageDestinationRef> getMessageDestinationRefMap()
getMessageDestinationRefMap
in interface JndiConsumer
public java.util.Collection<PersistenceContextRef> getPersistenceContextRef()
getPersistenceContextRef
in interface JndiConsumer
public java.util.Map<java.lang.String,PersistenceContextRef> getPersistenceContextRefMap()
getPersistenceContextRefMap
in interface JndiConsumer
public java.util.Collection<PersistenceUnitRef> getPersistenceUnitRef()
getPersistenceUnitRef
in interface JndiConsumer
public java.util.Map<java.lang.String,PersistenceUnitRef> getPersistenceUnitRefMap()
getPersistenceUnitRefMap
in interface JndiConsumer
public java.util.Collection<DataSource> getDataSource()
getDataSource
in interface JndiConsumer
public java.util.Map<java.lang.String,DataSource> getDataSourceMap()
getDataSourceMap
in interface JndiConsumer
public java.util.Collection<JMSConnectionFactory> getJMSConnectionFactories()
getJMSConnectionFactories
in interface JndiConsumer
public java.util.Map<java.lang.String,JMSConnectionFactory> getJMSConnectionFactoriesMap()
getJMSConnectionFactoriesMap
in interface JndiConsumer
public java.util.Collection<JMSDestination> getJMSDestination()
getJMSDestination
in interface JndiConsumer
public java.util.Map<java.lang.String,JMSDestination> getJMSDestinationMap()
getJMSDestinationMap
in interface JndiConsumer
public java.util.List<LifecycleCallback> getPostConstruct()
getPostConstruct
in interface Lifecycle
public void addPostConstruct(java.lang.String method)
addPostConstruct
in interface Lifecycle
public java.util.List<LifecycleCallback> getPreDestroy()
getPreDestroy
in interface Lifecycle
public void addPreDestroy(java.lang.String method)
addPreDestroy
in interface Lifecycle
public java.util.List<SecurityRoleRef> getSecurityRoleRef()
getSecurityRoleRef
in interface EnterpriseBean
public SecurityIdentity getSecurityIdentity()
getSecurityIdentity
in interface EnterpriseBean
public void setSecurityIdentity(SecurityIdentity value)
setSecurityIdentity
in interface EnterpriseBean
public java.lang.String getId()
getId
in interface EnterpriseBean
public void setId(java.lang.String value)
setId
in interface EnterpriseBean
public void addAroundTimeout(java.lang.String method)
addAroundTimeout
in interface Invokable
public java.lang.String getTimerConsumerName()
getTimerConsumerName
in interface TimerConsumer
public java.util.Map<java.lang.String,ContextService> getContextServiceMap()
getContextServiceMap
in interface JndiConsumer