org.ow2.jonas.deployment.domain
Class DomainMap
java.lang.Object
org.ow2.jonas.deployment.common.AbsDeploymentDesc
org.ow2.jonas.deployment.domain.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, S. Ali Tokmen
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.
getUsername
public final String getUsername()
- Returns:
- Returns the default username of the domain.
setUsername
public final void setUsername(String username)
- Parameters:
username
- The default username of the domain to set.
getPassword
public final String getPassword()
- Returns:
- Returns the default password of the domain
as encoded in the XML file.
setPassword
public final void setPassword(String password)
- Parameters:
password
- The default password of the domain to set
as encoded in the XML file.
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 © 2010 OW2 Consortium. All Rights Reserved.