org.objectweb.jonas_ejb.deployment.xml
Class MessageDriven

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

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 getEjbClass()
          Gets the ejb-class
 java.lang.String getEjbName()
          Gets the ejb-name
 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)
 java.lang.String getMessagingType()
          Gets the messaging-type
 SecurityIdentity getSecurityIdentity()
          Gets the security-identity
 java.lang.String getTransactionType()
          Gets the transaction-type
 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 setEjbClass(java.lang.String ejbClass)
          Set the ejb-class
 void setEjbName(java.lang.String ejbName)
          Set the ejb-name
 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)
 void setMessagingType(java.lang.String messagingType)
          Set the messaging-type
 void setSecurityIdentity(SecurityIdentity securityIdentity)
          Set the security-identity
 void setTransactionType(java.lang.String transactionType)
          Set the transaction-type
 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, getHome, getLocal, getLocalHome, getRemote, getSecurityRoleRefList, setHome, setLocal, setLocalHome, setRemote, setSecurityRoleRefList
 
Methods inherited from class org.objectweb.jonas_lib.deployment.xml.AbsEnvironmentElement
addEjbLocalRef, addEjbRef, addEnvEntry, addResourceEnvRef, addResourceRef, addServiceRef, getEjbLocalRefList, getEjbRefList, getEnvEntryList, 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, 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

getEjbName

public java.lang.String getEjbName()
Gets the ejb-name

Specified by:
getEjbName in interface CommonEjbXml
Overrides:
getEjbName in class CommonEjb
Returns:
the ejb-name

setEjbName

public void setEjbName(java.lang.String ejbName)
Set the ejb-name

Overrides:
setEjbName in class CommonEjb
Parameters:
ejbName - ejbName

getEjbClass

public java.lang.String getEjbClass()
Gets the ejb-class

Specified by:
getEjbClass in interface CommonEjbXml
Overrides:
getEjbClass in class CommonEjb
Returns:
the ejb-class

setEjbClass

public void setEjbClass(java.lang.String ejbClass)
Set the ejb-class

Overrides:
setEjbClass in class CommonEjb
Parameters:
ejbClass - ejbClass

getMessagingType

public java.lang.String getMessagingType()
Gets the messaging-type

Returns:
the messaging-type

setMessagingType

public void setMessagingType(java.lang.String messagingType)
Set the messaging-type


getTransactionType

public java.lang.String getTransactionType()
Gets the transaction-type

Overrides:
getTransactionType in class CommonEjb
Returns:
the transaction-type

setTransactionType

public void setTransactionType(java.lang.String transactionType)
Set the transaction-type

Overrides:
setTransactionType in class CommonEjb
Parameters:
transactionType - transactionType

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

getSecurityIdentity

public SecurityIdentity getSecurityIdentity()
Gets the security-identity

Specified by:
getSecurityIdentity in interface CommonEjbXml
Overrides:
getSecurityIdentity in class CommonEjb
Returns:
the security-identity

setSecurityIdentity

public void setSecurityIdentity(SecurityIdentity securityIdentity)
Set the security-identity

Overrides:
setSecurityIdentity in class CommonEjb
Parameters:
securityIdentity - securityIdentity

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.