com.ibm.websphere.models.config.cmm
Interface InputPort

All Superinterfaces:
org.eclipse.emf.ecore.EObject, com.ibm.ejs.models.base.resources.J2EEResourceFactory, org.eclipse.emf.common.notify.Notifier, com.ibm.ejs.models.base.resources.env.ResourceEnvEntry
All Known Implementing Classes:
InputPortImpl

public interface InputPort
extends com.ibm.ejs.models.base.resources.env.ResourceEnvEntry

A representation of the model object 'Input Port'. The Input Port defines the details required by the CMM Receiver beans when they are constructed from Session Beans. Receiver beans based upon message-driven beans do not require an Input port as the details are associated with the deployed MDB and Message Listener Service. The Input Port defines the properties for the receiving JMS destination, optional details on how to select and handle the message, together with the details, if required, for the reply destination.

The following features are supported:

See Also:
CmmPackage.getInputPort()

Method Summary
 AcknowledgeMode getAcknowledgeMode()
          Returns the value of the 'Acknowledge Mode' attribute.
 java.lang.String getConnectionFactoryJNDIName()
          Returns the value of the 'Connection Factory JNDI Name' attribute
 java.lang.String getDestinationJNDIName()
          Returns the value of the 'Destination JNDI Name' attribute
 DestinationType getDestinationType()
          Returns the value of the 'Destination Type' attribute.
 java.lang.String getReplyConnectionFactoryJNDIName()
          Returns the value of the 'Reply Connection Factory JNDI Name' attribute
 java.lang.String getReplyDestinationJNDIName()
          Returns the value of the 'Reply Destination JNDI Name' attribute
 SubscriptionDurabilityKind getSubscriptionDurability()
          Returns the value of the 'Subscription Durability' attribute.
 void setAcknowledgeMode(AcknowledgeMode value)
          Sets the value of the 'Acknowledge Mode' attribute
 void setConnectionFactoryJNDIName(java.lang.String value)
          Sets the value of the 'Connection Factory JNDI Name' attribute
 void setDestinationJNDIName(java.lang.String value)
          Sets the value of the 'Destination JNDI Name' attribute
 void setDestinationType(DestinationType value)
          Sets the value of the 'Destination Type' attribute
 void setReplyConnectionFactoryJNDIName(java.lang.String value)
          Sets the value of the 'Reply Connection Factory JNDI Name' attribute
 void setReplyDestinationJNDIName(java.lang.String value)
          Sets the value of the 'Reply Destination JNDI Name' attribute
 void setSubscriptionDurability(SubscriptionDurabilityKind value)
          Sets the value of the 'Subscription Durability' attribute
 
Methods inherited from interface com.ibm.ejs.models.base.resources.env.ResourceEnvEntry
getReferenceable, setReferenceable
 
Methods inherited from interface com.ibm.ejs.models.base.resources.J2EEResourceFactory
getCategory, getDescription, getJndiName, getName, getPropertySet, getProvider, getProviderType, setCategory, setDescription, setJndiName, setName, setPropertySet, setProvider, setProviderType
 
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

getConnectionFactoryJNDIName

java.lang.String getConnectionFactoryJNDIName()
Returns the value of the 'Connection Factory JNDI Name' attribute. JNDI name of the JMS Connection Factory to be used for this Input Port

Returns:
the value of the 'Connection Factory JNDI Name' attribute.
See Also:
setConnectionFactoryJNDIName(String), CmmPackage.getInputPort_ConnectionFactoryJNDIName()

setConnectionFactoryJNDIName

void setConnectionFactoryJNDIName(java.lang.String value)
Sets the value of the 'Connection Factory JNDI Name' attribute.

Parameters:
value - the new value of the 'Connection Factory JNDI Name' attribute.
See Also:
getConnectionFactoryJNDIName()

getDestinationJNDIName

java.lang.String getDestinationJNDIName()
Returns the value of the 'Destination JNDI Name' attribute. JNDI name of the JMS Destination to be used for this Input Port

Returns:
the value of the 'Destination JNDI Name' attribute.
See Also:
setDestinationJNDIName(String), CmmPackage.getInputPort_DestinationJNDIName()

setDestinationJNDIName

void setDestinationJNDIName(java.lang.String value)
Sets the value of the 'Destination JNDI Name' attribute.

Parameters:
value - the new value of the 'Destination JNDI Name' attribute.
See Also:
getDestinationJNDIName()

getAcknowledgeMode

AcknowledgeMode getAcknowledgeMode()
Returns the value of the 'Acknowledge Mode' attribute. The default value is "AutoAcknowledge". The literals are from the enumeration AcknowledgeMode. JMS acknowledgment mode to be used for acknowledging messages

Returns:
the value of the 'Acknowledge Mode' attribute.
See Also:
AcknowledgeMode, setAcknowledgeMode(AcknowledgeMode), CmmPackage.getInputPort_AcknowledgeMode()

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, getAcknowledgeMode()

getSubscriptionDurability

SubscriptionDurabilityKind getSubscriptionDurability()
Returns the value of the 'Subscription Durability' attribute. The default value is "NonDurable". The literals are from the enumeration SubscriptionDurabilityKind. The durability of subscriptions to a JMS Topic

Returns:
the value of the 'Subscription Durability' attribute.
See Also:
SubscriptionDurabilityKind, setSubscriptionDurability(SubscriptionDurabilityKind), CmmPackage.getInputPort_SubscriptionDurability()

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, getSubscriptionDurability()

getDestinationType

DestinationType getDestinationType()
Returns the value of the 'Destination Type' attribute. The default value is "QUEUE". The literals are from the enumeration DestinationType. The type of the JMS resource

Returns:
the value of the 'Destination Type' attribute.
See Also:
DestinationType, setDestinationType(DestinationType), CmmPackage.getInputPort_DestinationType()

setDestinationType

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

Parameters:
value - the new value of the 'Destination Type' attribute.
See Also:
DestinationType, getDestinationType()

getReplyConnectionFactoryJNDIName

java.lang.String getReplyConnectionFactoryJNDIName()
Returns the value of the 'Reply Connection Factory JNDI Name' attribute. JNDI name of the JMS Connection Factory to be used for replies

Returns:
the value of the 'Reply Connection Factory JNDI Name' attribute.
See Also:
setReplyConnectionFactoryJNDIName(String), CmmPackage.getInputPort_ReplyConnectionFactoryJNDIName()

setReplyConnectionFactoryJNDIName

void setReplyConnectionFactoryJNDIName(java.lang.String value)
Sets the value of the 'Reply Connection Factory JNDI Name' attribute.

Parameters:
value - the new value of the 'Reply Connection Factory JNDI Name' attribute.
See Also:
getReplyConnectionFactoryJNDIName()

getReplyDestinationJNDIName

java.lang.String getReplyDestinationJNDIName()
Returns the value of the 'Reply Destination JNDI Name' attribute. JNDI name of the JMS Destination to be used for replies

Returns:
the value of the 'Reply Destination JNDI Name' attribute.
See Also:
setReplyDestinationJNDIName(String), CmmPackage.getInputPort_ReplyDestinationJNDIName()

setReplyDestinationJNDIName

void setReplyDestinationJNDIName(java.lang.String value)
Sets the value of the 'Reply Destination JNDI Name' attribute.

Parameters:
value - the new value of the 'Reply Destination JNDI Name' attribute.
See Also:
getReplyDestinationJNDIName()