org.eclipse.jst.j2ee.ejb
Interface MessageDriven

All Superinterfaces:
CompatibilityDescriptionGroup, DescriptionGroup, org.eclipse.emf.ecore.EModelElement, org.eclipse.emf.ecore.ENamedElement, EnterpriseBean, org.eclipse.emf.ecore.EObject, J2EEEObject, JNDIEnvRefsGroup, org.eclipse.emf.common.notify.Notifier

public interface MessageDriven
extends EnterpriseBean

Since:
1.0

Method Summary
 AcknowledgeMode getAcknowledgeMode()
           
 ActivationConfig getActivationConfig()
          Returns the value of the 'Activation Config' containment reference
 MessageDrivenDestination getDestination()
           
 java.lang.String getLink()
          Returns the value of the 'Link' attribute
 JavaClass getMessageDestination()
          Returns the value of the 'Message Destination' reference
 java.lang.String getMessageSelector()
           
 JavaClass getMessagingType()
          Returns the value of the 'Messaging Type' reference
 TransactionType getTransactionType()
           
 boolean isSetAcknowledgeMode()
          Returns whether the value of the 'Acknowledge Mode' attribute is set
 boolean isSetTransactionType()
          Returns whether the value of the 'Transaction Type' attribute is set
 void setAcknowledgeMode(AcknowledgeMode value)
          Sets the value of the 'Acknowledge Mode' attribute
 void setActivationConfig(ActivationConfig value)
          Sets the value of the 'Activation Config' containment reference
 void setDestination(MessageDrivenDestination value)
           
 void setLink(java.lang.String value)
          Sets the value of the 'Link' attribute
 void setMessageDestination(JavaClass value)
          Sets the value of the 'Message Destination' reference
 void setMessageSelector(java.lang.String value)
           
 void setMessagingType(JavaClass value)
          Sets the value of the 'Messaging Type' reference
 void setTransactionType(TransactionType value)
          Sets the value of the 'Transaction Type' attribute
 void unsetAcknowledgeMode()
          Unsets the value of the 'Acknowledge Mode' attribute
 void unsetTransactionType()
          Unsets the value of the 'Transaction Type' attribute
 
Methods inherited from interface org.eclipse.jst.j2ee.ejb.EnterpriseBean
createMethodElements, getAvailableCommonMethodElements, getAvailableCommonMethodElementSignatures, getAvailableHomeMethodElements, getAvailableLocalHomeMethodElements, getAvailableLocalMethodElements, getAvailableRemoteMethodElements, getAvailableUnspecifiedMethodElements, getAvailableUnspecifiedMethodElementSignatures, getEjbClass, getEjbClassName, getEjbJar, getEquivalentEJBLocalRef, getEquivalentEjbRef, getExistingOrAvailableMethodElements, getExistingOrAvailableMethodElements, getHomeInterface, getHomeInterfaceName, getHomeMethodsForDeployment, getLinkedEJBLocalReference, getLinkedEJBReference, getLocalHomeInterface, getLocalHomeInterfaceName, getLocalHomeMethodsForDeployment, getLocalInterface, getLocalInterfaceName, getName, getRemoteInterface, getRemoteInterfaceName, getRemoteMethodsForDeployment, getSecurityIdentity, getSecurityRoleRefs, getVersionID, hasJavaReference, hasLocalClient, hasRemoteClient, isBeanManagedEntity, isContainerManagedEntity, isEntity, isMessageDriven, isSession, isVersion1_X, isVersion2_X, reSyncSecurityRoleRef, setEjbClass, setEjbClassName, setEjbJar, setHomeInterface, setHomeInterfaceName, setLocalHomeInterface, setLocalHomeInterfaceName, setLocalInterface, setLocalInterfaceName, setName, setRemoteInterface, setRemoteInterfaceName, setSecurityIdentity
 
Methods inherited from interface org.eclipse.jst.j2ee.common.JNDIEnvRefsGroup
getEjbLocalRefs, getEjbRefs, getEnvironmentProperties, getMessageDestinationRefs, getResourceEnvRefs, getResourceRefs, getServiceRefs
 
Methods inherited from interface org.eclipse.jst.j2ee.common.CompatibilityDescriptionGroup
getDescription, getDisplayName, getLargeIcon, getSmallIcon, setDescription, setDescriptionGen, setDisplayName, setDisplayNameGen, setLargeIcon, setLargeIconGen, setSmallIcon, setSmallIconGen
 
Methods inherited from interface org.eclipse.jst.j2ee.common.DescriptionGroup
getDescriptions, getDisplayNames, getIcons
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface org.eclipse.emf.ecore.EModelElement
getEAnnotation, getEAnnotations
 

Method Detail

getTransactionType

TransactionType getTransactionType()
Returns:
The value of the TransactionType attribute The transaction-type element specifies an enterprise bean's transaction management type. The transaction-type element must be one of the two following: Bean, Container

setTransactionType

void setTransactionType(TransactionType value)
Sets the value of the 'Transaction Type' attribute.

Parameters:
value - the new value of the 'Transaction Type' attribute.
See Also:
TransactionType, isSetTransactionType(), unsetTransactionType(), getTransactionType()

unsetTransactionType

void unsetTransactionType()
Unsets the value of the 'Transaction Type' attribute.

See Also:
isSetTransactionType(), getTransactionType(), setTransactionType(TransactionType)

isSetTransactionType

boolean isSetTransactionType()
Returns whether the value of the 'Transaction Type' attribute is set.

Returns:
whether the value of the 'Transaction Type' attribute is set.
See Also:
unsetTransactionType(), getTransactionType(), setTransactionType(TransactionType)

getMessageSelector

java.lang.String getMessageSelector()
Returns:
The value of the MessageSelector attribute The message-selector element is used to specify the JMS message selector to be used in determining which messages a message-driven bean is to receive. Example value: JMSType = `car' AND color = `blue' AND weight > 2500

setMessageSelector

void setMessageSelector(java.lang.String value)
Parameters:
value - The new value of the MessageSelector attribute

getAcknowledgeMode

AcknowledgeMode getAcknowledgeMode()
Returns:
The value of the AcknowledgeMode attribute an optional declaration of the acknowledgment mode for the message-driven bean if bean-managed transaction demarcation is used (ie. self.transactionType = Bean) The acknowledge-mode specifies whether JMS AUTO_ACKNOWLEDGE or DUPS_OK_ACKNOWLEDGE message acknowledgment semantics should be used for the onMessage message of a message-driven bean that uses bean managed transaction demarcation. The acknowledge-mode must be one of the two following: Auto-acknowledge, Dups-ok-acknowledge

setAcknowledgeMode

void setAcknowledgeMode(AcknowledgeMode value)
Sets the value of the 'Acknowledge Mode' attribute.

Parameters:
value - the new value of the 'Acknowledge Mode' attribute.
See Also:
AcknowledgeMode, isSetAcknowledgeMode(), unsetAcknowledgeMode(), getAcknowledgeMode()

unsetAcknowledgeMode

void unsetAcknowledgeMode()
Unsets the value of the 'Acknowledge Mode' attribute.

See Also:
isSetAcknowledgeMode(), getAcknowledgeMode(), setAcknowledgeMode(AcknowledgeMode)

isSetAcknowledgeMode

boolean isSetAcknowledgeMode()
Returns whether the value of the 'Acknowledge Mode' attribute is set.

Returns:
whether the value of the 'Acknowledge Mode' attribute is set.
See Also:
unsetAcknowledgeMode(), getAcknowledgeMode(), setAcknowledgeMode(AcknowledgeMode)

getDestination

MessageDrivenDestination getDestination()
Returns:
The Destination reference An optional declaration of the intended destination type of the message-driven bean

setDestination

void setDestination(MessageDrivenDestination value)
Parameters:
value - The new value of the Destination reference

getActivationConfig

ActivationConfig getActivationConfig()
Returns the value of the 'Activation Config' containment reference.

If the meaning of the 'Activation Config' containment reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Activation Config' containment reference.
See Also:
setActivationConfig(ActivationConfig), EjbPackage.getMessageDriven_ActivationConfig()

setActivationConfig

void setActivationConfig(ActivationConfig value)
Sets the value of the 'Activation Config' containment reference.

Parameters:
value - the new value of the 'Activation Config' containment reference.
See Also:
getActivationConfig()

getMessageDestination

JavaClass getMessageDestination()
Returns the value of the 'Message Destination' reference.

If the meaning of the 'Message Destination' reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Message Destination' reference.
See Also:
setMessageDestination(JavaClass), EjbPackage.getMessageDriven_MessageDestination()

setMessageDestination

void setMessageDestination(JavaClass value)
Sets the value of the 'Message Destination' reference.

Parameters:
value - the new value of the 'Message Destination' reference.
See Also:
getMessageDestination()

getLink

java.lang.String getLink()
Returns the value of the 'Link' attribute.

If the meaning of the 'Link' reference isn't clear, there really should be more of a description here...

- an optional declaration of the bean's message-destination-link

Returns:
the value of the 'Link' attribute.
See Also:
setLink(String), EjbPackage.getMessageDriven_Link()

setLink

void setLink(java.lang.String value)
Sets the value of the 'Link' attribute.

Parameters:
value - the new value of the 'Link' attribute.
See Also:
getLink()

getMessagingType

JavaClass getMessagingType()
Returns the value of the 'Messaging Type' reference.

If the meaning of the 'Messaging Type' reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Messaging Type' reference.
See Also:
setMessagingType(JavaClass), EjbPackage.getMessageDriven_MessagingType()

setMessagingType

void setMessagingType(JavaClass value)
Sets the value of the 'Messaging Type' reference.

Parameters:
value - the new value of the 'Messaging Type' reference.
See Also:
getMessagingType()