org.objectweb.jonas_clusterd.api
Class ClusterDaemonConfiguration

java.lang.Object
  extended by org.objectweb.jonas_lib.deployment.api.AbsDeploymentDesc
      extended by org.objectweb.jonas_clusterd.api.ClusterDaemonConfiguration
All Implemented Interfaces:
DeploymentDesc

public class ClusterDaemonConfiguration
extends AbsDeploymentDesc

This class provides a cluster daemon configuration structure as described by the description file. It extends the AbsDeploymentDesc which requires to implement toString() and provides getSAXMsg() method (displayName is not used by ClusterDaemonConfiguration).

Author:
Benoit Pelletier

Field Summary
 
Fields inherited from class org.objectweb.jonas_lib.deployment.api.AbsDeploymentDesc
displayName
 
Constructor Summary
ClusterDaemonConfiguration(ClusterDaemon clusterDaemon)
          Constructor
 
Method Summary
 ClusterDaemon getClusterDaemon()
           
 void setClusterDaemon(ClusterDaemon clusterDaemon)
          Set the cluster daemon bean
 java.lang.String toString()
          Return a String representation of the ClusterDaemonConfiguration
 java.lang.String toXML()
           
 
Methods inherited from class org.objectweb.jonas_lib.deployment.api.AbsDeploymentDesc
getDisplayName, getSAXMsg
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClusterDaemonConfiguration

public ClusterDaemonConfiguration(ClusterDaemon clusterDaemon)
Constructor

Parameters:
clusterDaemon - Cluster daemon
Method Detail

toString

public java.lang.String toString()
Return a String representation of the ClusterDaemonConfiguration

Specified by:
toString in interface DeploymentDesc
Specified by:
toString in class AbsDeploymentDesc
Returns:
a String representation of the ClusterDaemonConfiguration

toXML

public java.lang.String toXML()
Returns:
Return a XML representation of the clusterDaemonConfiguration

getClusterDaemon

public ClusterDaemon getClusterDaemon()
Returns:
the cluster daemon bean

setClusterDaemon

public void setClusterDaemon(ClusterDaemon clusterDaemon)
Set the cluster daemon bean

Parameters:
clusterDaemon - cluster daemon