org.ow2.jonas.deployment.ejb.xml
Class MessageDriven

java.lang.Object
  extended by org.ow2.jonas.deployment.common.xml.AbsElement
      extended by org.ow2.jonas.deployment.common.xml.AbsDescriptionElement
          extended by org.ow2.jonas.deployment.common.xml.AbsEnvironmentElement
              extended by org.ow2.jonas.deployment.ejb.xml.CommonEjb
                  extended by org.ow2.jonas.deployment.ejb.xml.MessageDriven
All Implemented Interfaces:
Serializable, DescriptionGroupXml, Element, JndiEnvRefsGroupXml, CommonEjbXml

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
 String getAcknowledgeMode()
          Gets the acknowledge-mode (EJB2.0 only)
 ActivationConfig getActivationConfig()
          Gets the activation-config (EJB2.1 only)
 String getMessageDestinationLink()
          Gets the message-destination-link (EJB2.1 only)
 String getMessageDestinationType()
          Gets the message-destination-type (EJB2.1 only)
 MessageDrivenDestination getMessageDrivenDestination()
          Gets the message-driven-destination (EJB2.0 only)
 String getMessageSelector()
          Gets the message-selector (EJB2.0 only)
 void setAcknowledgeMode(String acknowledgeMode)
          Set the acknowledge-mode (EJB2.0 only)
 void setActivationConfig(ActivationConfig activationConfig)
          Set the activation-config (EJB2.1 only)
 void setMessageDestinationLink(String messageDestinationLink)
          Set the message-destination-link (EJB2.1 only)
 void setMessageDestinationType(String messageDestinationType)
          Set the message-destination-type (EJB2.1 only)
 void setMessageDrivenDestination(MessageDrivenDestination messageDrivenDestination)
          Set the message-driven-destination (EJB2.0 only)
 void setMessageSelector(String messageSelector)
          Set the message-selector (EJB2.0 only)
 String toXML(int indent)
          Represents this element by it's XML description.
 
Methods inherited from class org.ow2.jonas.deployment.ejb.xml.CommonEjb
addSecurityRoleRef, getEjbClass, getEjbName, getHome, getLocal, getLocalHome, getMappedName, getMessagingType, getRemote, getSecurityIdentity, getSecurityRoleRefList, getTransactionType, setEjbClass, setEjbName, setHome, setLocal, setLocalHome, setMappedName, setMessagingType, setRemote, setSecurityIdentity, setSecurityRoleRefList, setTransactionType
 
Methods inherited from class org.ow2.jonas.deployment.common.xml.AbsEnvironmentElement
addEjbLocalRef, addEjbRef, addEnvEntry, addMessageDestinationRef, addPersistenceUnitRef, addResourceEnvRef, addResourceRef, addServiceRef, getEjbLocalRefList, getEjbRefList, getEnvEntryList, getMessageDestinationRefList, getPersistenceUnitRefList, getResourceEnvRefList, getResourceRefList, getServiceRefList
 
Methods inherited from class org.ow2.jonas.deployment.common.xml.AbsDescriptionElement
getDescription, getDisplayName, getIcon, setDescription, setDisplayName, setIcon, setLargeIcon, setLargeIcon, setSmallIcon, setSmallIcon
 
Methods inherited from class org.ow2.jonas.deployment.common.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.ow2.jonas.deployment.common.xml.JndiEnvRefsGroupXml
getEjbLocalRefList, getEjbRefList, getEnvEntryList, getMessageDestinationRefList, getPersistenceUnitRefList, getResourceEnvRefList, getResourceRefList, getServiceRefList
 
Methods inherited from interface org.ow2.jonas.deployment.common.xml.DescriptionGroupXml
getDescription, getDisplayName, getIcon
 

Constructor Detail

MessageDriven

public MessageDriven()
Constructor

Method Detail

getMessageSelector

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

Returns:
the message-selector

setMessageSelector

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

Parameters:
messageSelector - messageSelector

getAcknowledgeMode

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

Returns:
the acknowledge-mode

setAcknowledgeMode

public void setAcknowledgeMode(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 String getMessageDestinationType()
Gets the message-destination-type (EJB2.1 only)

Returns:
the message-destination-type

setMessageDestinationType

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

Parameters:
messageDestinationType - message-destination-type

getMessageDestinationLink

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

Returns:
the message-destination-link

setMessageDestinationLink

public void setMessageDestinationLink(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 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.


Copyright © 2010 OW2 Consortium. All Rights Reserved.