org.objectweb.jonas_client.deployment.xml
Class JonasClient

java.lang.Object
  extended byorg.objectweb.jonas_lib.deployment.xml.AbsElement
      extended byorg.objectweb.jonas_lib.deployment.xml.AbsJonasEnvironmentElement
          extended byorg.objectweb.jonas_client.deployment.xml.JonasClient
All Implemented Interfaces:
Element, JonasJndiEnvRefsGroupXml, java.io.Serializable, TopLevelElement

public class JonasClient
extends AbsJonasEnvironmentElement
implements TopLevelElement

This class defines the implementation of the element jonas-client

Author:
jonas-team
See Also:
Serialized Form

Field Summary
static java.lang.String JONAS_CLIENT_ELEMENT
          jonas-client element XML header
 
Constructor Summary
JonasClient()
          Default constructor
 
Method Summary
 void addJonasMessageDestination(JonasMessageDestination jonasMessageDestination)
          Add a new jonas-message-destination element to this object
 java.lang.String getHeader()
           
 JLinkedList getJonasMessageDestinationList()
           
 JonasSecurity getJonasSecurity()
           
 void setHeader(java.lang.String header)
           
 void setJonasMessageDestinationList(JLinkedList jonasMessageDestinationList)
          Set the jonas-message-destination
 void setJonasSecurity(JonasSecurity jonasSecurity)
          Set the jonas-security
 java.lang.String toXML(int indent)
          Represents this element by it's XML description.
 
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
 

Field Detail

JONAS_CLIENT_ELEMENT

public static final java.lang.String JONAS_CLIENT_ELEMENT
jonas-client element XML header

Constructor Detail

JonasClient

public JonasClient()
Default constructor

Method Detail

getJonasSecurity

public JonasSecurity getJonasSecurity()
Returns:
the jonas-security

setJonasSecurity

public void setJonasSecurity(JonasSecurity jonasSecurity)
Set the jonas-security

Parameters:
jonasSecurity - jonasSecurity

getJonasMessageDestinationList

public JLinkedList getJonasMessageDestinationList()
Returns:
the list of all jonas-message-destination elements

setJonasMessageDestinationList

public void setJonasMessageDestinationList(JLinkedList jonasMessageDestinationList)
Set the jonas-message-destination

Parameters:
jonasMessageDestinationList - jonasMessageDestination

addJonasMessageDestination

public void addJonasMessageDestination(JonasMessageDestination jonasMessageDestination)
Add a new jonas-message-destination element to this object

Parameters:
jonasMessageDestination - the jonas-message-destination object

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.

getHeader

public java.lang.String getHeader()
Returns:
the header.

setHeader

public void setHeader(java.lang.String header)
Parameters:
header - The header to set.