org.ow2.jonas.deployment.domain
Class DomainMap

java.lang.Object
  extended by org.ow2.jonas.deployment.common.AbsDeploymentDesc
      extended by 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

Field Summary
 
Fields inherited from class org.ow2.jonas.deployment.common.AbsDeploymentDesc
displayName
 
Constructor Summary
DomainMap(Domain domain)
          Constructor
 
Method Summary
 Vector getClusterDaemons()
           
 Vector getClusters()
           
 String getDescription()
           
 String getPassword()
           
 Vector getServers()
           
 String getUsername()
           
 void setClusterDaemons(Vector clusterDaemons)
           
 void setClusters(Vector clusters)
           
 void setDescription(String description)
           
 void setPassword(String password)
           
 void setServers(Vector servers)
           
 void setUsername(String username)
           
 String toString()
          Return a String representation of the DomainMap
 
Methods inherited from class org.ow2.jonas.deployment.common.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.

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.