|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.openejb.jee.was.v6.common.DescriptionGroup
org.apache.openejb.jee.was.v6.common.CompatibilityDescriptionGroup
org.apache.openejb.jee.was.v6.common.JNDIEnvRefsGroup
org.apache.openejb.jee.was.v6.ejb.EnterpriseBean
org.apache.openejb.jee.was.v6.ejb.MessageDriven
public class MessageDriven
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 - the message-driven bean's implementation class - an optional declaration of the bean's messaging type - the message-driven bean's transaction management type - 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 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 Java class for MessageDriven complex type. The following schema fragment specifies the expected content contained within this class.
<complexType name="MessageDriven">
<complexContent>
<extension base="{ejb.xmi}EnterpriseBean">
<choice>
<choice maxOccurs="unbounded" minOccurs="0">
<element name="destination" type="{ejb.xmi}MessageDrivenDestination"/>
</choice>
<choice maxOccurs="unbounded" minOccurs="0">
<element name="activationConfig" type="{ejb.xmi}ActivationConfig"/>
</choice>
<choice maxOccurs="unbounded" minOccurs="0">
<element name="messageDestination" type="{java.xmi}JavaClass"/>
</choice>
<choice maxOccurs="unbounded" minOccurs="0">
<element name="messagingType" type="{java.xmi}JavaClass"/>
</choice>
</choice>
<attribute name="acknowledgeMode" type="{ejb.xmi}AcknowledgeMode" />
<attribute name="link" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="messageDestination" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="messageSelector" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="messagingType" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="transactionType" type="{ejb.xmi}TransactionType" />
</extension>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected AcknowledgeModeEnum |
acknowledgeMode
|
protected List<ActivationConfig> |
activationConfigs
|
protected List<MessageDrivenDestination> |
destinations
|
protected String |
link
|
protected String |
messageDestination
|
protected List<JavaClass> |
messageDestinations
|
protected String |
messageSelector
|
protected String |
messagingType
|
protected List<JavaClass> |
messagingTypes
|
protected TransactionEnum |
transactionType
|
| Fields inherited from class org.apache.openejb.jee.was.v6.ejb.EnterpriseBean |
|---|
ejbClass, ejbClasses, homeInterface, homeInterfaces, localHomeInterface, localHomeInterfaces, localInterface, localInterfaces, name, remoteInterface, remoteInterfaces, securityIdentities, securityRoleRefs |
| Fields inherited from class org.apache.openejb.jee.was.v6.common.JNDIEnvRefsGroup |
|---|
ejbLocalRefs, ejbRefs, environmentProperties, messageDestinationRefs, resourceEnvRefs, resourceRefs, serviceRefs |
| Fields inherited from class org.apache.openejb.jee.was.v6.common.CompatibilityDescriptionGroup |
|---|
description, displayName, largeIcon, smallIcon |
| Fields inherited from class org.apache.openejb.jee.was.v6.common.DescriptionGroup |
|---|
descriptions, displayNames, extensions, href, icons, id, idref, label, type, uuid, version |
| Constructor Summary | |
|---|---|
MessageDriven()
|
|
| Method Summary | |
|---|---|
AcknowledgeModeEnum |
getAcknowledgeMode()
Gets the value of the acknowledgeMode property. |
List<ActivationConfig> |
getActivationConfigs()
Gets the value of the activationConfigs property. |
List<MessageDrivenDestination> |
getDestinations()
Gets the value of the destinations property. |
String |
getLink()
Gets the value of the link property. |
String |
getMessageDestination()
Gets the value of the messageDestination property. |
List<JavaClass> |
getMessageDestinations()
Gets the value of the messageDestinations property. |
String |
getMessageSelector()
Gets the value of the messageSelector property. |
String |
getMessagingType()
Gets the value of the messagingType property. |
List<JavaClass> |
getMessagingTypes()
Gets the value of the messagingTypes property. |
TransactionEnum |
getTransactionType()
Gets the value of the transactionType property. |
void |
setAcknowledgeMode(AcknowledgeModeEnum value)
Sets the value of the acknowledgeMode property. |
void |
setLink(String value)
Sets the value of the link property. |
void |
setMessageDestination(String value)
Sets the value of the messageDestination property. |
void |
setMessageSelector(String value)
Sets the value of the messageSelector property. |
void |
setMessagingType(String value)
Sets the value of the messagingType property. |
void |
setTransactionType(TransactionEnum value)
Sets the value of the transactionType property. |
| Methods inherited from class org.apache.openejb.jee.was.v6.ejb.EnterpriseBean |
|---|
getEjbClass, getEjbClasses, getHomeInterface, getHomeInterfaces, getLocalHomeInterface, getLocalHomeInterfaces, getLocalInterface, getLocalInterfaces, getName, getRemoteInterface, getRemoteInterfaces, getSecurityIdentities, getSecurityRoleRefs, setEjbClass, setHomeInterface, setLocalHomeInterface, setLocalInterface, setName, setRemoteInterface |
| Methods inherited from class org.apache.openejb.jee.was.v6.common.JNDIEnvRefsGroup |
|---|
getEjbLocalRefs, getEjbRefs, getEnvironmentProperties, getMessageDestinationRefs, getResourceEnvRefs, getResourceRefs, getServiceRefs |
| Methods inherited from class org.apache.openejb.jee.was.v6.common.CompatibilityDescriptionGroup |
|---|
getDescription, getDisplayName, getLargeIcon, getSmallIcon, setDescription, setDisplayName, setLargeIcon, setSmallIcon |
| Methods inherited from class org.apache.openejb.jee.was.v6.common.DescriptionGroup |
|---|
getDescriptions, getDisplayNames, getExtensions, getHref, getIcons, getId, getIdref, getLabel, getType, getUuid, getVersion, setHref, setId, setIdref, setLabel, setType, setUuid, setVersion |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected List<MessageDrivenDestination> destinations
protected List<ActivationConfig> activationConfigs
protected List<JavaClass> messageDestinations
protected List<JavaClass> messagingTypes
protected AcknowledgeModeEnum acknowledgeMode
protected String link
protected String messageDestination
protected String messageSelector
protected String messagingType
protected TransactionEnum transactionType
| Constructor Detail |
|---|
public MessageDriven()
| Method Detail |
|---|
public List<MessageDrivenDestination> getDestinations()
set method for the destinations property.
For example, to add a new item, do as follows:
getDestinations().add(newItem);Objects of the following type(s) are allowed in the list
MessageDrivenDestination
public List<ActivationConfig> getActivationConfigs()
set method for the activationConfigs property.
For example, to add a new item, do as follows:
getActivationConfigs().add(newItem);Objects of the following type(s) are allowed in the list
ActivationConfig
public List<JavaClass> getMessageDestinations()
set method for the messageDestinations property.
For example, to add a new item, do as follows:
getMessageDestinations().add(newItem);Objects of the following type(s) are allowed in the list
JavaClass
public List<JavaClass> getMessagingTypes()
set method for the messagingTypes property.
For example, to add a new item, do as follows:
getMessagingTypes().add(newItem);Objects of the following type(s) are allowed in the list
JavaClass
public AcknowledgeModeEnum getAcknowledgeMode()
AcknowledgeModeEnumpublic void setAcknowledgeMode(AcknowledgeModeEnum value)
value - allowed object is AcknowledgeModeEnumpublic String getLink()
Stringpublic void setLink(String value)
value - allowed object is Stringpublic String getMessageDestination()
Stringpublic void setMessageDestination(String value)
value - allowed object is Stringpublic String getMessageSelector()
Stringpublic void setMessageSelector(String value)
value - allowed object is Stringpublic String getMessagingType()
Stringpublic void setMessagingType(String value)
value - allowed object is Stringpublic TransactionEnum getTransactionType()
TransactionEnumpublic void setTransactionType(TransactionEnum value)
value - allowed object is TransactionEnum
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||