org.objectweb.easybeans.deployment.annotations.impl
Class JMessageDriven

java.lang.Object
  extended by org.objectweb.easybeans.deployment.annotations.impl.JMessageDriven

public class JMessageDriven
extends java.lang.Object

Acts as an implementation of @MessageDriven annotation.

Author:
Florent Benoit

Field Summary
private  java.util.List<ActivationConfigProperty> activationConfigProperties
          List of ActivationConfigProperty.
private  java.lang.String messageListenerInterface
          Message listener Interface.
 
Constructor Summary
JMessageDriven()
          Build an object which represents @MessageDriven object.
 
Method Summary
 void addActivationConfigProperty(ActivationConfigProperty activationConfigProperty)
          Adds an activation config property.
 java.lang.String getMessageListenerInterface()
           
 void setMessageListenerInterface(java.lang.String messageListenerInterface)
          Sets the message listener interface.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

activationConfigProperties

private java.util.List<ActivationConfigProperty> activationConfigProperties
List of ActivationConfigProperty.


messageListenerInterface

private java.lang.String messageListenerInterface
Message listener Interface.

Constructor Detail

JMessageDriven

public JMessageDriven()
Build an object which represents @MessageDriven object.

Method Detail

addActivationConfigProperty

public void addActivationConfigProperty(ActivationConfigProperty activationConfigProperty)
Adds an activation config property.

Parameters:
activationConfigProperty - object to add in the list

getMessageListenerInterface

public java.lang.String getMessageListenerInterface()
Returns:
message listener interface.

setMessageListenerInterface

public void setMessageListenerInterface(java.lang.String messageListenerInterface)
Sets the message listener interface.

Parameters:
messageListenerInterface - the given interface.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
Returns:
string representation