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

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

public class JMessageDriven
extends JCommonBean

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.util.List<ActivationConfigProperty> getActivationConfigProperties()
          Gets the activation config properties.
 java.lang.String getMessageListenerInterface()
           
 void setMessageListenerInterface(java.lang.String messageListenerInterface)
          Sets the message listener interface.
 java.lang.String toString()
           
 
Methods inherited from class org.objectweb.easybeans.deployment.annotations.impl.JCommonBean
getDescription, getMappedName, getName, setDescription, setMappedName, setName
 
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

getActivationConfigProperties

public java.util.List<ActivationConfigProperty> getActivationConfigProperties()
Gets the activation config properties.

Returns:
the list of activation config properties

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 JCommonBean
Returns:
string representation