org.eclipse.jst.j2ee.ejb
Interface MessageDrivenDestination

All Superinterfaces:
org.eclipse.emf.ecore.EObject, J2EEEObject, org.eclipse.emf.common.notify.Notifier

public interface MessageDrivenDestination
extends J2EEEObject

The message-driven-destination element provides advice to the Deployer as to whether a message-driven bean is intended for a Queue or a Topic. The declaration consists of: the type of the message-driven bean's intended destination and an optional declaration of whether a durable or non-durable subscription should be used if the destination-type is javax.jms.Topic.

Since:
1.0

Method Summary
 MessageDriven getBean()
           
 SubscriptionDurabilityKind getSubscriptionDurability()
           
 DestinationType getType()
           
 boolean isSetSubscriptionDurability()
          Returns whether the value of the 'Subscription Durability' attribute is set
 boolean isSetType()
          Returns whether the value of the 'Type' attribute is set
 void setBean(MessageDriven value)
           
 void setSubscriptionDurability(SubscriptionDurabilityKind value)
          Sets the value of the 'Subscription Durability' attribute
 void setType(DestinationType value)
          Sets the value of the 'Type' attribute
 void unsetSubscriptionDurability()
          Unsets the value of the 'Subscription Durability' attribute
 void unsetType()
          Unsets the value of the 'Type' attribute
 
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
 

Method Detail

getType

DestinationType getType()
Returns:
The value of the Type attribute The destination-type element specifies the type of the JMS destination. The type is specified by the Java interface expected to be implemented by the destination. The destination-type element must be one of the two following: javax.jms.Queue, javax.jms.Topic

setType

void setType(DestinationType value)
Sets the value of the 'Type' attribute.

Parameters:
value - the new value of the 'Type' attribute.
See Also:
DestinationType, isSetType(), unsetType(), getType()

unsetType

void unsetType()
Unsets the value of the 'Type' attribute.

See Also:
isSetType(), getType(), setType(DestinationType)

isSetType

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

Returns:
whether the value of the 'Type' attribute is set.
See Also:
unsetType(), getType(), setType(DestinationType)

getSubscriptionDurability

SubscriptionDurabilityKind getSubscriptionDurability()
Returns:
The value of the SubscriptionDurability attribute The subscription-durability element specifies whether a JMS topic subscription is intended to be durable or nondurable. The subscription-durability element must be one of the two following: Durable, NonDurable

setSubscriptionDurability

void setSubscriptionDurability(SubscriptionDurabilityKind value)
Sets the value of the 'Subscription Durability' attribute.

Parameters:
value - the new value of the 'Subscription Durability' attribute.
See Also:
SubscriptionDurabilityKind, isSetSubscriptionDurability(), unsetSubscriptionDurability(), getSubscriptionDurability()

unsetSubscriptionDurability

void unsetSubscriptionDurability()
Unsets the value of the 'Subscription Durability' attribute.

See Also:
isSetSubscriptionDurability(), getSubscriptionDurability(), setSubscriptionDurability(SubscriptionDurabilityKind)

isSetSubscriptionDurability

boolean isSetSubscriptionDurability()
Returns whether the value of the 'Subscription Durability' attribute is set.

Returns:
whether the value of the 'Subscription Durability' attribute is set.
See Also:
unsetSubscriptionDurability(), getSubscriptionDurability(), setSubscriptionDurability(SubscriptionDurabilityKind)

getBean

MessageDriven getBean()
Returns:
The Bean reference

setBean

void setBean(MessageDriven value)
Parameters:
value - The new value of the Bean reference