org.objectweb.jonas_clusterd.xml
Class ClusterDaemon

java.lang.Object
  extended byorg.objectweb.jonas_lib.deployment.xml.AbsElement
      extended byorg.objectweb.jonas_lib.deployment.xml.AbsDescriptionElement
          extended byorg.objectweb.jonas_clusterd.xml.ClusterDaemon
All Implemented Interfaces:
DescriptionGroupXml, Element, java.io.Serializable, TopLevelElement

public class ClusterDaemon
extends AbsDescriptionElement
implements TopLevelElement

This class defines the configuration of the cluster daemon

Author:
Benoit Pelletier
See Also:
Serialized Form

Constructor Summary
ClusterDaemon()
          Constructor
 
Method Summary
 void addServer(Server server)
          Add a new server element to this object
 java.lang.String getDomainName()
           
 java.lang.String getJonasInteractionMode()
           
 java.lang.String getName()
           
 JLinkedList getServerList()
           
 void setDomainName(java.lang.String domainName)
          set the domain name
 void setJonasInteractionMode(java.lang.String jonasInteractionMode)
          set the interaction mode with JOnAS
 void setName(java.lang.String name)
          set the name
 void setServerList(JLinkedList serverList)
           
 java.lang.String toXML(int indent)
          Represents this element by it's XML description.
 
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
 

Constructor Detail

ClusterDaemon

public ClusterDaemon()
Constructor

Method Detail

addServer

public void addServer(Server server)
Add a new server element to this object

Parameters:
server - the Server object

getServerList

public JLinkedList getServerList()
Returns:
Returns the serverList.

setServerList

public void setServerList(JLinkedList serverList)
Parameters:
serverList - The serverList to set.

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.

getDomainName

public java.lang.String getDomainName()
Returns:
the domain name

setDomainName

public void setDomainName(java.lang.String domainName)
set the domain name

Parameters:
domainName - domain name

getName

public java.lang.String getName()
Returns:
the name

setName

public void setName(java.lang.String name)
set the name

Parameters:
name - name

getJonasInteractionMode

public java.lang.String getJonasInteractionMode()
Returns:
the interaction mode with JOnAS

setJonasInteractionMode

public void setJonasInteractionMode(java.lang.String jonasInteractionMode)
set the interaction mode with JOnAS