org.eclipse.jst.j2ee.jca
Interface MessageListener

All Superinterfaces:
J2EEEObject

public interface MessageListener
extends J2EEEObject

A representation of the model object 'Message Listener'.

Version:
J2EE1.4 The messagelistenerType specifies information about a specific message listener supported by the messaging resource adapter. It contains information on the Java type of the message listener interface and an activation specification.

The following features are supported:

See Also:
JcaPackage.getMessageListener()

Method Summary
 ActivationSpec getActivationSpec()
          Returns the value of the 'Activation Spec' containment reference
 java.lang.String getMessageListenerType()
          Returns the value of the 'Message Listener Type' attribute
 void setActivationSpec(ActivationSpec value)
          Sets the value of the 'Activation Spec' containment reference
 void setMessageListenerType(java.lang.String value)
          Sets the value of the 'Message Listener Type' attribute
 

Method Detail

getMessageListenerType

public java.lang.String getMessageListenerType()
Returns the value of the 'Message Listener Type' attribute.

If the meaning of the 'Message Listener Type' attribute isn't clear, there really should be more of a description here...

The element messagelistener-type specifies the fully qualified name of the Java type of a message listener interface. Example: javax.jms.MessageListener

Returns:
the value of the 'Message Listener Type' attribute.
See Also:
setMessageListenerType(String), JcaPackage.getMessageListener_MessageListenerType()

setMessageListenerType

public void setMessageListenerType(java.lang.String value)
Sets the value of the 'Message Listener Type' attribute.

Parameters:
value - the new value of the 'Message Listener Type' attribute.
See Also:
getMessageListenerType()

getActivationSpec

public ActivationSpec getActivationSpec()
Returns the value of the 'Activation Spec' containment reference.

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

Returns:
the value of the 'Activation Spec' containment reference.
See Also:
setActivationSpec(ActivationSpec), JcaPackage.getMessageListener_ActivationSpec()

setActivationSpec

public void setActivationSpec(ActivationSpec value)
Sets the value of the 'Activation Spec' containment reference.

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