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:
java.io.Serializable, DescriptionGroupXml, Element, TopLevelElement

public class ClusterDaemon
extends AbsDescriptionElement
implements TopLevelElement

This class defines the configuration of the cluster daemon

Author:
Benoit Pelletier, S. Ali Tokmen
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 getJmxAuthenticationMethod()
           
 java.lang.String getJmxAuthenticationParameter()
           
 java.lang.String getJmxAuthorizationMethod()
           
 java.lang.String getJmxAuthorizationParameter()
           
 java.lang.String getJmxSecured()
           
 java.lang.String getJonasInteractionMode()
           
 java.lang.String getName()
           
 JLinkedList getServerList()
           
 boolean isJmxSecured()
           
 void setDomainName(java.lang.String domainName)
          set the domain name
 void setJmxAuthenticationMethod(java.lang.String jmxAuthenticationMethod)
           
 void setJmxAuthenticationParameter(java.lang.String jmxAuthenticationParameter)
           
 void setJmxAuthorizationMethod(java.lang.String jmxAuthorizationMethod)
           
 void setJmxAuthorizationParameter(java.lang.String jmxAuthorizationParameter)
           
 void setJmxSecured(boolean jmxSecured)
           
 void setJmxSecured(java.lang.String jmxSecured)
           
 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

Parameters:
jonasInteractionMode - interaction mode

isJmxSecured

public boolean isJmxSecured()
Returns:
Whether JMX is secured.

getJmxSecured

public java.lang.String getJmxSecured()
Returns:
Whether JMX is secured.

setJmxSecured

public void setJmxSecured(boolean jmxSecured)
Parameters:
jmxSecured - Whether JMX is secured.

setJmxSecured

public void setJmxSecured(java.lang.String jmxSecured)
Parameters:
jmxSecured - Whether JMX is secured.

getJmxAuthenticationMethod

public java.lang.String getJmxAuthenticationMethod()
Returns:
JMX authentication method.

setJmxAuthenticationMethod

public void setJmxAuthenticationMethod(java.lang.String jmxAuthenticationMethod)
Parameters:
jmxAuthenticationMethod - JMX authentication method.

getJmxAuthenticationParameter

public java.lang.String getJmxAuthenticationParameter()
Returns:
JMX authentication method's parameter.

setJmxAuthenticationParameter

public void setJmxAuthenticationParameter(java.lang.String jmxAuthenticationParameter)
Parameters:
jmxAuthenticationParameter - JMX authentication method's parameter.

getJmxAuthorizationMethod

public java.lang.String getJmxAuthorizationMethod()
Returns:
JMX authorization method.

setJmxAuthorizationMethod

public void setJmxAuthorizationMethod(java.lang.String jmxAuthorizationMethod)
Parameters:
jmxAuthorizationMethod - JMX authorization method.

getJmxAuthorizationParameter

public java.lang.String getJmxAuthorizationParameter()
Returns:
JMX authentication method's parameter.

setJmxAuthorizationParameter

public void setJmxAuthorizationParameter(java.lang.String jmxAuthorizationParameter)
Parameters:
jmxAuthorizationParameter - JMX authentication method's parameter.