org.objectweb.jonas_clusterd.xml
Class ClusterDaemon

java.lang.Object
  extended by org.objectweb.jonas_lib.deployment.xml.AbsElement
      extended by org.objectweb.jonas_lib.deployment.xml.AbsDescriptionElement
          extended by org.objectweb.jonas_clusterd.xml.ClusterDaemon
All Implemented Interfaces:
Serializable, DescriptionGroupXml, Element, 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
 String getDomainName()
           
 String getJonasInteractionMode()
           
 String getName()
           
 JLinkedList getServerList()
           
 void setDomainName(String domainName)
          set the domain name
 void setJonasInteractionMode(String jonasInteractionMode)
          set the interaction mode with JOnAS
 void setName(String name)
          set the name
 void setServerList(JLinkedList serverList)
           
 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 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 String getDomainName()
Returns:
the domain name

setDomainName

public void setDomainName(String domainName)
set the domain name

Parameters:
domainName - domain name

getName

public String getName()
Returns:
the name

setName

public void setName(String name)
set the name

Parameters:
name - name

getJonasInteractionMode

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

setJonasInteractionMode

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

Parameters:
jonasInteraction - interaction mode


Copyright © 2007 OW2 Consortium. All Rights Reserved.