org.objectweb.jonas_ejb.deployment.xml
Class JonasMessageDriven

java.lang.Object
  extended by org.objectweb.jonas_lib.deployment.xml.AbsElement
      extended by org.objectweb.jonas_lib.deployment.xml.AbsJonasEnvironmentElement
          extended by org.objectweb.jonas_ejb.deployment.xml.JonasCommonEjb
              extended by org.objectweb.jonas_ejb.deployment.xml.JonasMessageDriven
All Implemented Interfaces:
java.io.Serializable, JonasCommonEjbXml, Element, JonasJndiEnvRefsGroupXml

public class JonasMessageDriven
extends JonasCommonEjb

This class defines the implementation of the element jonas-message-driven

Author:
JOnAS team
See Also:
Serialized Form

Constructor Summary
JonasMessageDriven()
          Constructor
 
Method Summary
 ActivationConfig getActivationConfig()
          Gets the activation-config (EJB2.1 only)
 JonasMessageDrivenDestination getJonasMessageDrivenDestination()
          Gets the jonas-message-driven-destination
 void setActivationConfig(ActivationConfig activationConfig)
          Set the activation-config (EJB2.1 only)
 void setJonasMessageDrivenDestination(JonasMessageDrivenDestination jonasMessageDrivenDestination)
          Set the jonas-message-driven-destination
 java.lang.String toXML(int indent)
          Represents this element by it's XML description.
 
Methods inherited from class org.objectweb.jonas_ejb.deployment.xml.JonasCommonEjb
getClusterHomeDistributor, getClusterRemoteDistributor, getClusterReplicated, getEjbName, getIorSecurityConfig, getJndiLocalName, getJndiName, getMaxCacheSize, getMinPoolSize, getRunAsPrincipalName, setClusterHomeDistributor, setClusterRemoteDistributor, setClusterReplicated, setEjbName, setIorSecurityConfig, setJndiLocalName, setJndiName, setMaxCacheSize, setMinPoolSize, setRunAsPrincipalName
 
Methods inherited from class org.objectweb.jonas_lib.deployment.xml.AbsJonasEnvironmentElement
addJonasEjbRef, addJonasMessageDestinationRef, addJonasResource, addJonasResourceEnv, addJonasServiceRef, getJonasEjbRefList, getJonasMessageDestinationRefList, getJonasResourceEnvList, getJonasResourceList, getJonasServiceRefList
 
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.JonasJndiEnvRefsGroupXml
getJonasEjbRefList, getJonasMessageDestinationRefList, getJonasResourceEnvList, getJonasResourceList, getJonasServiceRefList
 

Constructor Detail

JonasMessageDriven

public JonasMessageDriven()
Constructor

Method Detail

getJonasMessageDrivenDestination

public JonasMessageDrivenDestination getJonasMessageDrivenDestination()
Gets the jonas-message-driven-destination

Returns:
the jonas-message-driven-destination

setJonasMessageDrivenDestination

public void setJonasMessageDrivenDestination(JonasMessageDrivenDestination jonasMessageDrivenDestination)
Set the jonas-message-driven-destination

Parameters:
jonasMessageDrivenDestination - jonasMessageDrivenDestination

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.