org.ow2.jonas.deployment.client.xml
Class JonasClient

java.lang.Object
  extended by org.ow2.jonas.deployment.common.xml.AbsElement
      extended by org.ow2.jonas.deployment.common.xml.AbsJonasEnvironmentElement
          extended by org.ow2.jonas.deployment.client.xml.JonasClient
All Implemented Interfaces:
Serializable, Element, JonasJndiEnvRefsGroupXml, 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 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
 String getHeader()
           
 JLinkedList getJonasMessageDestinationList()
           
 JonasSecurity getJonasSecurity()
           
 void setHeader(String header)
           
 void setJonasMessageDestinationList(JLinkedList jonasMessageDestinationList)
          Set the jonas-message-destination
 void setJonasSecurity(JonasSecurity jonasSecurity)
          Set the jonas-security
 String toXML(int indent)
          Represents this element by it's XML description.
 
Methods inherited from class org.ow2.jonas.deployment.common.xml.AbsJonasEnvironmentElement
addJonasEjbRef, addJonasMessageDestinationRef, addJonasResource, addJonasResourceEnv, addJonasServiceRef, getJonasEjbRefList, getJonasMessageDestinationRefList, getJonasResourceEnvList, getJonasResourceList, getJonasServiceRefList
 
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
 

Field Detail

JONAS_CLIENT_ELEMENT

public static final 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 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 String getHeader()
Returns:
the header.

setHeader

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


Copyright © 2010 OW2 Consortium. All Rights Reserved.