org.ow2.jonas.deployment.clusterd.xml
Class ClusterDaemon

java.lang.Object
  extended by org.ow2.jonas.deployment.common.xml.AbsElement
      extended by org.ow2.jonas.deployment.common.xml.AbsDescriptionElement
          extended by org.ow2.jonas.deployment.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, eyindanga (Added discovery configuration), S. Ali Tokmen (Added JMX security)
See Also:
Serialized Form

Constructor Summary
ClusterDaemon()
          Constructor
 
Method Summary
 void addServer(Server server)
          Add a new server element to this object
 Discovery getDiscovery()
           
 String getDiscoveryGroupName()
           
 String getDiscoveryStackFile()
           
 String getDomainName()
           
 String getJmxAuthenticationMethod()
           
 String getJmxAuthenticationParameter()
           
 String getJmxAuthorizationMethod()
           
 String getJmxAuthorizationParameter()
           
 String getJmxSecured()
           
 String getJonasInteractionMode()
           
 String getName()
           
 JLinkedList getServerList()
           
 boolean isJmxSecured()
           
 void setDiscovery(Discovery discovery)
           
 void setDiscoveryGroupName(String discoveryGroupName)
           
 void setDiscoveryStackFile(String discoveryStackFile)
           
 void setDomainName(String domainName)
          Sets the domain name
 void setJmxAuthenticationMethod(String jmxAuthenticationMethod)
           
 void setJmxAuthenticationParameter(String jmxAuthenticationParameter)
           
 void setJmxAuthorizationMethod(String jmxAuthorizationMethod)
           
 void setJmxAuthorizationParameter(String jmxAuthorizationParameter)
           
 void setJmxSecured(boolean jmxSecured)
           
 void setJmxSecured(String jmxSecured)
           
 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.ow2.jonas.deployment.common.xml.AbsDescriptionElement
getDescription, getDisplayName, getIcon, setDescription, setDisplayName, setIcon, setLargeIcon, setLargeIcon, setSmallIcon, setSmallIcon
 
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
 

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 prefixing XML representation.
Returns:
the XML description of this object.

getDomainName

public String getDomainName()
Returns:
the domain name

setDomainName

public void setDomainName(String domainName)
Sets 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

getDiscoveryStackFile

public String getDiscoveryStackFile()
Returns:
the discoveryStackFile

setDiscoveryStackFile

public void setDiscoveryStackFile(String discoveryStackFile)
Parameters:
discoveryStackFile - the discoveryStackFile to set

getDiscoveryGroupName

public String getDiscoveryGroupName()
Returns:
the discoveryGroupName

setDiscoveryGroupName

public void setDiscoveryGroupName(String discoveryGroupName)
Parameters:
discoveryGroupName - the discoveryGroupName to set

getDiscovery

public Discovery getDiscovery()
Returns:
the discovery

setDiscovery

public void setDiscovery(Discovery discovery)
Parameters:
discovery - the discovery to set

isJmxSecured

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

getJmxSecured

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

setJmxSecured

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

setJmxSecured

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

getJmxAuthenticationMethod

public String getJmxAuthenticationMethod()
Returns:
JMX authentication method.

setJmxAuthenticationMethod

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

getJmxAuthenticationParameter

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

setJmxAuthenticationParameter

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

getJmxAuthorizationMethod

public String getJmxAuthorizationMethod()
Returns:
JMX authorization method.

setJmxAuthorizationMethod

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

getJmxAuthorizationParameter

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

setJmxAuthorizationParameter

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


Copyright © 2010 OW2 Consortium. All Rights Reserved.