public class MessageDrivenBean extends 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(Class ejbClass) |
MessageDrivenBean(String ejbName) |
MessageDrivenBean(String ejbName,
Class ejbClass) |
MessageDrivenBean(String ejbName,
String ejbClass) |
protected TextMap description
protected TextMap displayName
protected LocalCollection<Icon> icon
protected String ejbName
protected String mappedName
protected String ejbClass
protected String messagingType
protected NamedMethod timeoutMethod
protected TransactionType transactionType
protected String messageDestinationType
protected String messageDestinationLink
protected ActivationConfig activationConfig
protected List<AroundInvoke> aroundInvoke
protected List<AroundTimeout> aroundTimeout
protected KeyedCollection<String,EnvEntry> envEntry
protected KeyedCollection<String,EjbRef> ejbRef
protected KeyedCollection<String,EjbLocalRef> ejbLocalRef
protected KeyedCollection<String,ServiceRef> serviceRef
protected KeyedCollection<String,ResourceRef> resourceRef
protected KeyedCollection<String,ResourceEnvRef> resourceEnvRef
protected KeyedCollection<String,MessageDestinationRef> messageDestinationRef
protected KeyedCollection<String,PersistenceContextRef> persistenceContextRef
protected KeyedCollection<String,PersistenceUnitRef> persistenceUnitRef
protected KeyedCollection<String,DataSource> dataSource
protected KeyedCollection<String,JMSConnectionFactory> jmsConnectionFactories
protected KeyedCollection<String,JMSDestination> jmsDestinations
protected List<LifecycleCallback> postConstruct
protected List<LifecycleCallback> preDestroy
protected List<SecurityRoleRef> securityRoleRef
protected SecurityIdentity securityIdentity
protected String id
public MessageDrivenBean()
public MessageDrivenBean(String ejbName)
public MessageDrivenBean(Class ejbClass)
public String getJndiConsumerName()
getJndiConsumerName in interface JndiConsumerpublic Text[] getDescriptions()
public void setDescriptions(Text[] text)
public String getDescription()
public Text[] getDisplayNames()
public void setDisplayNames(Text[] text)
public String getDisplayName()
public Collection<Icon> getIcons()
public Icon getIcon()
public String getEjbName()
getEjbName in interface EnterpriseBeanpublic void setEjbName(String value)
setEjbName in interface EnterpriseBeanpublic String getMappedName()
getMappedName in interface EnterpriseBeanpublic void setMappedName(String value)
setMappedName in interface EnterpriseBeanpublic String getEjbClass()
getEjbClass in interface EnterpriseBeanpublic void setEjbClass(String value)
setEjbClass in interface EnterpriseBeanpublic void setEjbClass(Class value)
setEjbClass in interface EnterpriseBeanpublic String getMessagingType()
public void setMessagingType(String value)
public void setMessagingType(Class value)
public NamedMethod getTimeoutMethod()
getTimeoutMethod in interface TimerConsumerpublic void setTimeoutMethod(NamedMethod value)
setTimeoutMethod in interface TimerConsumerpublic List<Timer> getTimer()
getTimer in interface TimerConsumerpublic MessageDrivenDestination getMessageDrivenDestination()
public void setMessageDrivenDestination(MessageDrivenDestination value)
public String getMessageSelector()
public void setMessageSelector(String messageSelector)
public String getAcknowledgeMode()
public void setAcknowledgeMode(String acknowledgeMode)
public TransactionType getTransactionType()
getTransactionType in interface EnterpriseBeanpublic void setTransactionType(TransactionType value)
setTransactionType in interface EnterpriseBeanpublic String getMessageDestinationType()
public void setMessageDestinationType(String value)
public String getMessageDestinationLink()
public void setMessageDestinationLink(String value)
public ActivationConfig getActivationConfig()
public void setActivationConfig(ActivationConfig value)
public List<AroundInvoke> getAroundInvoke()
getAroundInvoke in interface Invokablepublic void addAroundInvoke(String method)
addAroundInvoke in interface Invokablepublic List<AroundTimeout> getAroundTimeout()
getAroundTimeout in interface Invokablepublic Collection<EnvEntry> getEnvEntry()
getEnvEntry in interface JndiConsumerpublic Map<String,EnvEntry> getEnvEntryMap()
getEnvEntryMap in interface JndiConsumerpublic Collection<EjbRef> getEjbRef()
getEjbRef in interface JndiConsumerpublic Map<String,EjbRef> getEjbRefMap()
getEjbRefMap in interface JndiConsumerpublic Collection<EjbLocalRef> getEjbLocalRef()
getEjbLocalRef in interface JndiConsumerpublic Map<String,EjbLocalRef> getEjbLocalRefMap()
getEjbLocalRefMap in interface JndiConsumerpublic Collection<ServiceRef> getServiceRef()
getServiceRef in interface JndiConsumerpublic Map<String,ServiceRef> getServiceRefMap()
getServiceRefMap in interface JndiConsumerpublic Collection<ResourceRef> getResourceRef()
getResourceRef in interface JndiConsumerpublic Map<String,ResourceRef> getResourceRefMap()
getResourceRefMap in interface JndiConsumerpublic Collection<ResourceEnvRef> getResourceEnvRef()
getResourceEnvRef in interface JndiConsumerpublic Map<String,ResourceEnvRef> getResourceEnvRefMap()
getResourceEnvRefMap in interface JndiConsumerpublic Collection<MessageDestinationRef> getMessageDestinationRef()
getMessageDestinationRef in interface JndiConsumerpublic Map<String,MessageDestinationRef> getMessageDestinationRefMap()
getMessageDestinationRefMap in interface JndiConsumerpublic Collection<PersistenceContextRef> getPersistenceContextRef()
getPersistenceContextRef in interface JndiConsumerpublic Map<String,PersistenceContextRef> getPersistenceContextRefMap()
getPersistenceContextRefMap in interface JndiConsumerpublic Collection<PersistenceUnitRef> getPersistenceUnitRef()
getPersistenceUnitRef in interface JndiConsumerpublic Map<String,PersistenceUnitRef> getPersistenceUnitRefMap()
getPersistenceUnitRefMap in interface JndiConsumerpublic Collection<DataSource> getDataSource()
getDataSource in interface JndiConsumerpublic Map<String,DataSource> getDataSourceMap()
getDataSourceMap in interface JndiConsumerpublic Collection<JMSConnectionFactory> getJMSConnectionFactories()
getJMSConnectionFactories in interface JndiConsumerpublic Map<String,JMSConnectionFactory> getJMSConnectionFactoriesMap()
getJMSConnectionFactoriesMap in interface JndiConsumerpublic Collection<JMSDestination> getJMSDestination()
getJMSDestination in interface JndiConsumerpublic Map<String,JMSDestination> getJMSDestinationMap()
getJMSDestinationMap in interface JndiConsumerpublic List<LifecycleCallback> getPostConstruct()
getPostConstruct in interface Lifecyclepublic void addPostConstruct(String method)
addPostConstruct in interface Lifecyclepublic List<LifecycleCallback> getPreDestroy()
getPreDestroy in interface Lifecyclepublic void addPreDestroy(String method)
addPreDestroy in interface Lifecyclepublic List<SecurityRoleRef> getSecurityRoleRef()
getSecurityRoleRef in interface EnterpriseBeanpublic SecurityIdentity getSecurityIdentity()
getSecurityIdentity in interface EnterpriseBeanpublic void setSecurityIdentity(SecurityIdentity value)
setSecurityIdentity in interface EnterpriseBeanpublic String getId()
getId in interface EnterpriseBeanpublic void setId(String value)
setId in interface EnterpriseBeanpublic void addAroundTimeout(String method)
addAroundTimeout in interface Invokablepublic String getTimerConsumerName()
getTimerConsumerName in interface TimerConsumerCopyright © 1999–2021 The Apache Software Foundation. All rights reserved.