org.objectweb.jonas_domain.xml
Class Server
java.lang.Object
org.objectweb.jonas_lib.deployment.xml.AbsElement
org.objectweb.jonas_domain.xml.Server
- All Implemented Interfaces:
- Serializable, Element
public class Server
- extends AbsElement
JOnAS instance
- Author:
- danesa
- See Also:
- Serialized Form
Constructor Summary |
Server()
Constructor |
Server
public Server()
- Constructor
getLocation
public Location getLocation()
- Returns:
- Returns the location.
setLocation
public void setLocation(Location location)
- Parameters:
location
- The location to set.
addLocation
public void addLocation(Location location)
- Parameters:
location
- The location to set.
getName
public String getName()
- Returns:
- Returns the name.
setName
public void setName(String name)
- Parameters:
name
- The name to set.
getDescription
public String getDescription()
- Returns:
- Returns the description.
setDescription
public void setDescription(String description)
- Parameters:
description
- The description to set.
toXML
public String toXML(int indent)
- Represents this element by it's XML description.
- Specified by:
toXML
in interface Element
- Specified by:
toXML
in class AbsElement
- Parameters:
indent
- use this indent for prexifing XML representation.
- Returns:
- the XML description of this object.
getClusterDaemon
public String getClusterDaemon()
- Returns:
- the cluster daemon name
setClusterDaemon
public void setClusterDaemon(String clusterDaemon)
- Set the cluster daemon name
- Parameters:
clusterDaemon
- name
Copyright © 2007 OW2 Consortium. All Rights Reserved.