Package edu.vt.middleware.ldap.pool
Class CloseLdapPassivator
- java.lang.Object
-
- edu.vt.middleware.ldap.pool.CloseLdapPassivator
-
- All Implemented Interfaces:
LdapPassivator<Ldap>
public class CloseLdapPassivator extends java.lang.Object implements LdapPassivator<Ldap>
CloseLdapPassivator
passivates an ldap object by attempting to close it's connection to the ldap.- Version:
- $Revision: 1330 $ $Date: 2010-05-24 00:10:53 +0200 (Mon, 24 May 2010) $
- Author:
- Middleware Services
-
-
Field Summary
Fields Modifier and Type Field Description protected org.apache.commons.logging.Log
logger
Log for this class.
-
Constructor Summary
Constructors Constructor Description CloseLdapPassivator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
passivate(Ldap l)
Passivate the supplied ldap object.
-
-
-
Method Detail
-
passivate
public boolean passivate(Ldap l)
Passivate the supplied ldap object.- Specified by:
passivate
in interfaceLdapPassivator<Ldap>
- Parameters:
l
- ldap object- Returns:
- whether passivation was successful
-
-