Class ServerGroup

    • Constructor Detail

      • ServerGroup

        public ServerGroup()
    • 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:
        process in interface ParseOutput
        name - the name of this node.
        elems - contains all the sub-nodes.
        atts - contains the attributes value of this node
        Pcdata - 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()