org.ow2.jonas.deployment.clusterd
Class ClusterDaemonConfiguration

java.lang.Object
  extended by org.ow2.jonas.deployment.common.AbsDeploymentDesc
      extended by org.ow2.jonas.deployment.clusterd.ClusterDaemonConfiguration
All Implemented Interfaces:
IDeploymentDesc

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.ow2.jonas.deployment.common.AbsDeploymentDesc
displayName
 
Constructor Summary
ClusterDaemonConfiguration(ClusterDaemon clusterDaemon)
          Constructor
 
Method Summary
 ClusterDaemon getClusterDaemon()
           
 void setClusterDaemon(ClusterDaemon clusterDaemon)
          Set the cluster daemon bean
 String toString()
          Return a String representation of the ClusterDaemonConfiguration
 String toXML()
           
 
Methods inherited from class org.ow2.jonas.deployment.common.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 String toString()
Return a String representation of the ClusterDaemonConfiguration

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

toXML

public 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


Copyright © 2010 OW2 Consortium. All Rights Reserved.