org.objectweb.jonas_domain.api
Class DomainMap

java.lang.Object
  extended by org.objectweb.jonas_lib.deployment.api.AbsDeploymentDesc
      extended by org.objectweb.jonas_domain.api.DomainMap
All Implemented Interfaces:
IDeploymentDesc

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
 Vector getClusterDaemons()
           
 Vector getClusters()
           
 String getDescription()
           
 String getName()
           
 Vector getServers()
           
 void setClusterDaemons(Vector clusterDaemons)
           
 void setClusters(Vector clusters)
           
 void setDescription(String description)
           
 void setName(String name)
           
 void setServers(Vector servers)
           
 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 Vector getClusterDaemons()
Returns:
Returns the clusterDaemons.

setClusterDaemons

public void setClusterDaemons(Vector clusterDaemons)
Parameters:
clusters - The clusterDaemons to set.

getClusters

public Vector getClusters()
Returns:
Returns the clusters.

setClusters

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

getDescription

public String getDescription()
Returns:
Returns the description.

setDescription

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

getName

public String getName()
Returns:
Returns the name.

setName

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

getServers

public Vector getServers()
Returns:
Returns the servers.

setServers

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

toString

public String toString()
Return a String representation of the DomainMap

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


Copyright © 2007 OW2 Consortium. All Rights Reserved.