Class ConnectionPool.LDAPConnectionObject

java.lang.Object
netscape.ldap.util.ConnectionPool.LDAPConnectionObject
Enclosing class:
ConnectionPool

class ConnectionPool.LDAPConnectionObject extends Object
Wrapper for LDAPConnection object in pool
  • Field Details

  • Constructor Details

    • LDAPConnectionObject

      LDAPConnectionObject()
  • Method Details

    • getLDAPConn

      LDAPConnection getLDAPConn()
      Returns the associated LDAPConnection.
      Returns:
      the LDAPConnection.
    • setLDAPConn

      void setLDAPConn(LDAPConnection ld)
      Sets the associated LDAPConnection
      Parameters:
      ld - the LDAPConnection
    • setInUse

      void setInUse(boolean inUse)
      Marks a connection in use or available
      Parameters:
      inUse - true to mark in use, false if available
    • isAvailable

      boolean isAvailable()
      Returns whether the connection is available for use by another user.
      Returns:
      true if available.
    • toString

      public String toString()
      Debug method
      Overrides:
      toString in class Object
      Returns:
      s user-friendly rendering of the object.