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:
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

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.lang.String getPassword()
           
 java.util.Vector getServers()
           
 java.lang.String getUsername()
           
 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 setPassword(java.lang.String password)
           
 void setServers(java.util.Vector servers)
           
 void setUsername(java.lang.String username)
           
 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)
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