org.objectweb.jonas_domain.api
Class DomainMap
java.lang.Object
org.objectweb.jonas_lib.deployment.api.AbsDeploymentDesc
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
DomainMap
public DomainMap(Domain domain)
- Constructor
- Parameters:
domain
- domain
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.