org.objectweb.jonas_ejb.deployment.xml
Class MessageDriven

java.lang.Object
  extended by org.objectweb.jonas_lib.deployment.xml.AbsElement
      extended by org.objectweb.jonas_lib.deployment.xml.AbsDescriptionElement
          extended by org.objectweb.jonas_lib.deployment.xml.AbsEnvironmentElement
              extended by org.objectweb.jonas_ejb.deployment.xml.CommonEjb
                  extended by org.objectweb.jonas_ejb.deployment.xml.MessageDriven
All Implemented Interfaces:
java.io.Serializable, CommonEjbXml, DescriptionGroupXml, Element, JndiEnvRefsGroupXml

public class MessageDriven
extends CommonEjb

This class defines the implementation of the element message-driven

Author:
JOnAS team
See Also:
Serialized Form

Constructor Summary
MessageDriven()
          Constructor
 
Method Summary
 java.lang.String getAcknowledgeMode()
          Gets the acknowledge-mode (EJB2.0 only)
 ActivationConfig getActivationConfig()
          Gets the activation-config (EJB2.1 only)
 java.lang.String getMessageDestinationLink()
          Gets the message-destination-link (EJB2.1 only)
 java.lang.String getMessageDestinationType()
          Gets the message-destination-type (EJB2.1 only)
 MessageDrivenDestination getMessageDrivenDestination()
          Gets the message-driven-destination (EJB2.0 only)
 java.lang.String getMessageSelector()
          Gets the message-selector (EJB2.0 only)
 void setAcknowledgeMode(java.lang.String acknowledgeMode)
          Set the acknowledge-mode (EJB2.0 only)
 void setActivationConfig(ActivationConfig activationConfig)
          Set the activation-config (EJB2.1 only)
 void setMessageDestinationLink(java.lang.String messageDestinationLink)
          Set the message-destination-link (EJB2.1 only)
 void setMessageDestinationType(java.lang.String messageDestinationType)
          Set the message-destination-type (EJB2.1 only)
 void setMessageDrivenDestination(MessageDrivenDestination messageDrivenDestination)
          Set the message-driven-destination (EJB2.0 only)
 void setMessageSelector(java.lang.String messageSelector)
          Set the message-selector (EJB2.0 only)
 java.lang.String toXML(int indent)
          Represents this element by it's XML description.
 
Methods inherited from class org.objectweb.jonas_ejb.deployment.xml.CommonEjb
addSecurityRoleRef, getEjbClass, getEjbName, getHome, getLocal, getLocalHome, getMessagingType, getRemote, getSecurityIdentity, getSecurityRoleRefList, getTransactionType, setEjbClass, setEjbName, setHome, setLocal, setLocalHome, setMessagingType, setRemote, setSecurityIdentity, setSecurityRoleRefList, setTransactionType
 
Methods inherited from class org.objectweb.jonas_lib.deployment.xml.AbsEnvironmentElement
addEjbLocalRef, addEjbRef, addEnvEntry, addMessageDestinationRef, addResourceEnvRef, addResourceRef, addServiceRef, getEjbLocalRefList, getEjbRefList, getEnvEntryList, getMessageDestinationRefList, getResourceEnvRefList, getResourceRefList, getServiceRefList
 
Methods inherited from class org.objectweb.jonas_lib.deployment.xml.AbsDescriptionElement
getDescription, getDisplayName, getIcon, setDescription, setDisplayName, setIcon, setLargeIcon, setLargeIcon, setSmallIcon, setSmallIcon
 
Methods inherited from class org.objectweb.jonas_lib.deployment.xml.AbsElement
indent, toString, toXML, xmlAttribute, xmlElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.objectweb.jonas_lib.deployment.xml.JndiEnvRefsGroupXml
getEjbLocalRefList, getEjbRefList, getEnvEntryList, getMessageDestinationRefList, getResourceEnvRefList, getResourceRefList, getServiceRefList
 
Methods inherited from interface org.objectweb.jonas_lib.deployment.xml.DescriptionGroupXml
getDescription, getDisplayName, getIcon
 

Constructor Detail

MessageDriven

public MessageDriven()
Constructor

Method Detail

getMessageSelector

public java.lang.String getMessageSelector()
Gets the message-selector (EJB2.0 only)

Returns:
the message-selector

setMessageSelector

public void setMessageSelector(java.lang.String messageSelector)
Set the message-selector (EJB2.0 only)

Parameters:
messageSelector - messageSelector

getAcknowledgeMode

public java.lang.String getAcknowledgeMode()
Gets the acknowledge-mode (EJB2.0 only)

Returns:
the acknowledge-mode

setAcknowledgeMode

public void setAcknowledgeMode(java.lang.String acknowledgeMode)
Set the acknowledge-mode (EJB2.0 only)

Parameters:
acknowledgeMode - acknowledgeMode

getMessageDrivenDestination

public MessageDrivenDestination getMessageDrivenDestination()
Gets the message-driven-destination (EJB2.0 only)

Returns:
the message-driven-destination

setMessageDrivenDestination

public void setMessageDrivenDestination(MessageDrivenDestination messageDrivenDestination)
Set the message-driven-destination (EJB2.0 only)

Parameters:
messageDrivenDestination - messageDrivenDestination

getMessageDestinationType

public java.lang.String getMessageDestinationType()
Gets the message-destination-type (EJB2.1 only)

Returns:
the message-destination-type

setMessageDestinationType

public void setMessageDestinationType(java.lang.String messageDestinationType)
Set the message-destination-type (EJB2.1 only)

Parameters:
messageDestinationType - message-destination-type

getMessageDestinationLink

public java.lang.String getMessageDestinationLink()
Gets the message-destination-link (EJB2.1 only)

Returns:
the message-destination-link

setMessageDestinationLink

public void setMessageDestinationLink(java.lang.String messageDestinationLink)
Set the message-destination-link (EJB2.1 only)

Parameters:
messageDestinationLink - message-destination-link

getActivationConfig

public ActivationConfig getActivationConfig()
Gets the activation-config (EJB2.1 only)

Returns:
the activation-config

setActivationConfig

public void setActivationConfig(ActivationConfig activationConfig)
Set the activation-config (EJB2.1 only)

Parameters:
activationConfig - activation-config

toXML

public java.lang.String toXML(int indent)
Represents this element by it's XML description.

Specified by:
toXML in interface Element
Specified by:
toXML in class AbsElement
Parameters:
indent - use this indent for prexifing XML representation.
Returns:
the XML description of this object.