|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ow2.jonas.deployment.common.xml.AbsElement org.ow2.jonas.deployment.common.xml.AbsDescriptionElement org.ow2.jonas.deployment.domain.xml.Domain
public class Domain
This class defines the implementation of the domain
Constructor Summary | |
---|---|
Domain()
Constructor |
Method Summary | |
---|---|
void |
addCluster(Cluster cluster)
Add a new cluster element to this object |
void |
addClusterDaemon(ClusterDaemon clusterDaemon)
Add a new cluster daemon element to this object |
void |
addServer(Server server)
Add a new server element to this object |
JLinkedList |
getClusterDaemonList()
|
JLinkedList |
getClusterList()
|
String |
getName()
|
String |
getPassword()
|
JLinkedList |
getServerList()
|
String |
getUsername()
|
void |
setClusterDaemonList(JLinkedList clusterDaemonList)
|
void |
setClusterList(JLinkedList clusterList)
|
void |
setName(String name)
|
void |
setPassword(String password)
|
void |
setServerList(JLinkedList serverList)
|
void |
setUsername(String username)
|
String |
toXML(int indent)
Represents this element by it's XML description. |
Methods inherited from class org.ow2.jonas.deployment.common.xml.AbsDescriptionElement |
---|
getDescription, getDisplayName, getIcon, setDescription, setDisplayName, setIcon, setLargeIcon, setLargeIcon, setSmallIcon, setSmallIcon |
Methods inherited from class org.ow2.jonas.deployment.common.xml.AbsElement |
---|
indent, toString, toXML, xmlAttribute, xmlElement |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Domain()
Method Detail |
---|
public String getName()
public void setName(String name)
name
- The name to set.public final String getUsername()
public final void setUsername(String username)
username
- The default username of the domain to set.public final String getPassword()
public final void setPassword(String password)
password
- The default password of the domain to set
as encoded in the XML file.public void addCluster(Cluster cluster)
cluster
- the Cluster objectpublic void addClusterDaemon(ClusterDaemon clusterDaemon)
clusterDaemon
- the ClusterDaemon objectpublic void addServer(Server server)
server
- the Server objectpublic JLinkedList getClusterList()
public void setClusterList(JLinkedList clusterList)
clusterList
- The clusterList to set.public void setClusterDaemonList(JLinkedList clusterDaemonList)
clusterDaemonList
- The clusterDaemonList to set.public JLinkedList getClusterDaemonList()
public JLinkedList getServerList()
public void setServerList(JLinkedList serverList)
serverList
- The serverList to set.public String toXML(int indent)
toXML
in interface Element
toXML
in class AbsElement
indent
- use this indent for prefixing XML representation.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |