Package com.iplanet.services.ldap
Class ServerGroup
- java.lang.Object
-
- com.iplanet.services.ldap.ServerGroup
-
- All Implemented Interfaces:
ParseOutput
public class ServerGroup extends Object implements ParseOutput
-
-
Constructor Summary
Constructors Constructor Description ServerGroup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetLdapHeartbeat()ServerInstancegetServerInstance(LDAPUser.Type authType)Get the server instance that's currently active.Collection<Server>getServersList()The list of servers that are defined in this server group.voidprocess(XMLParser parser, String name, Vector elems, Hashtable atts, String Pcdata)Not to be called.StringserverGroupName()StringtoString()
-
-
-
Method Detail
-
process
public void process(XMLParser parser, String name, Vector elems, Hashtable atts, String Pcdata) throws XMLException
Not to be called. This is a method to be called by the parser to read the xml information.- Specified by:
processin interfaceParseOutputname- the name of this node.elems- contains all the sub-nodes.atts- contains the attributes value of this nodePcdata- contains text value of this node- Throws:
XMLException- See Also:
ParseOutput
-
getServerInstance
public ServerInstance getServerInstance(LDAPUser.Type authType)
Get the server instance that's currently active.- Parameters:
authType- Defined in LDAPUser.java there are four types of users.- Returns:
- ServerInstance The active instance is returned. If no instance is active, null is returned.
- See Also:
LDAPUser.Type
-
serverGroupName
public String serverGroupName()
-
getServersList
public Collection<Server> getServersList()
The list of servers that are defined in this server group.
-
getLdapHeartbeat
public int getLdapHeartbeat()
-
-