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:
- 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, S. Ali Tokmen
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DomainMap
public DomainMap(Domain domain)
- Constructor
- Parameters:
domain
- domain
getClusterDaemons
public java.util.Vector getClusterDaemons()
- Returns:
- Returns the clusterDaemons.
setClusterDaemons
public void setClusterDaemons(java.util.Vector clusterDaemons)
- Parameters:
clusterDaemons
- The clusterDaemons to set.
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.
getUsername
public final java.lang.String getUsername()
- Returns:
- Returns the default username of the domain.
setUsername
public final void setUsername(java.lang.String username)
- Parameters:
username
- The default username of the domain to set.
getPassword
public final java.lang.String getPassword()
- Returns:
- Returns the default password of the domain
as encoded in the XML file.
setPassword
public final void setPassword(java.lang.String password)
- Parameters:
password
- The default password of the domain to set
as encoded in the XML file.
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