Class ServerConfigXML.ServerGroup
- java.lang.Object
-
- com.sun.identity.common.configuration.ServerConfigXML.ServerGroup
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- ServerConfigXML
public class ServerConfigXML.ServerGroup extends Object implements Serializable
Server Group Object.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description StringdsBaseDNList<ServerConfigXML.DirUserObject>dsUsersList<ServerConfigXML.ServerObject>hostsintmaxPoolintminPool
-
Constructor Summary
Constructors Constructor Description ServerGroup(Node node)Constructs a Server Group object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddHost(String name, String host, String port, String type)Adds a host to the group.StringtoXML(String groupName)Returns the XML representation of this object.
-
-
-
Field Detail
-
minPool
public int minPool
-
maxPool
public int maxPool
-
hosts
public List<ServerConfigXML.ServerObject> hosts
-
dsUsers
public List<ServerConfigXML.DirUserObject> dsUsers
-
dsBaseDN
public String dsBaseDN
-
-
Constructor Detail
-
ServerGroup
public ServerGroup(Node node)
Constructs a Server Group object.- Parameters:
node- XML node for Server Group blob.
-
-
Method Detail
-
addHost
public void addHost(String name, String host, String port, String type) throws ConfigurationException
Adds a host to the group.- Parameters:
name- Server name.host- Host name.port- Port number.type- Connection type i.e. Simple/SSL.- Throws:
ConfigurationException
-
-