org.objectweb.jonas_domain.api
Class DomainMap

java.lang.Object
  extended byorg.objectweb.jonas_lib.deployment.api.AbsDeploymentDesc
      extended byorg.objectweb.jonas_domain.api.DomainMap
All Implemented Interfaces:
DeploymentDesc

public class DomainMap
extends AbsDeploymentDesc

This class provides the map of the domain as described by the domain description file. It extends the AbsDeploymentDesc which requires to implement toString() and provides getSAXMsg() method (displayName is not used by DomainMap).

Author:
Adriana Danes

Field Summary
 
Fields inherited from class org.objectweb.jonas_lib.deployment.api.AbsDeploymentDesc
displayName
 
Constructor Summary
DomainMap(Domain domain)
          Constructor
 
Method Summary
 java.util.Vector getClusterDaemons()
           
 java.util.Vector getClusters()
           
 java.lang.String getDescription()
           
 java.lang.String getName()
           
 java.util.Vector getServers()
           
 void setClusterDaemons(java.util.Vector clusterDaemons)
           
 void setClusters(java.util.Vector clusters)
           
 void setDescription(java.lang.String description)
           
 void setName(java.lang.String name)
           
 void setServers(java.util.Vector servers)
           
 java.lang.String toString()
          Return a String representation of the DomainMap
 
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

DomainMap

public DomainMap(Domain domain)
Constructor

Parameters:
domain - domain
Method Detail

getClusterDaemons

public java.util.Vector getClusterDaemons()
Returns:
Returns the clusterDaemons.

setClusterDaemons

public void setClusterDaemons(java.util.Vector clusterDaemons)

getClusters

public java.util.Vector getClusters()
Returns:
Returns the clusters.

setClusters

public void setClusters(java.util.Vector clusters)
Parameters:
clusters - The clusters to set.

getDescription

public java.lang.String getDescription()
Returns:
Returns the description.

setDescription

public void setDescription(java.lang.String description)
Parameters:
description - The description to set.

getName

public java.lang.String getName()
Returns:
Returns the name.

setName

public void setName(java.lang.String name)
Parameters:
name - The name to set.

getServers

public java.util.Vector getServers()
Returns:
Returns the servers.

setServers

public void setServers(java.util.Vector servers)
Parameters:
servers - The servers to set.

toString

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

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