public interface LdapPoolStrategy
Modifier and Type | Method and Description |
---|---|
void |
checkIn(edu.vt.middleware.ldap.Ldap l)
Return an ldap object.
|
edu.vt.middleware.ldap.Ldap |
checkOut()
Retrieve an ldap object.
|
void |
initialize()
Prepare the pool for use.
|
void |
setBlockWhenEmpty(boolean block)
Sets whether to block when the pool is empty.
|
void |
setLdapFactory(edu.vt.middleware.ldap.pool.LdapFactory<edu.vt.middleware.ldap.Ldap> factory)
Sets the ldap factory.
|
void |
setLdapPoolConfig(edu.vt.middleware.ldap.pool.LdapPoolConfig config)
Sets the ldap pool configuration.
|
void setLdapFactory(edu.vt.middleware.ldap.pool.LdapFactory<edu.vt.middleware.ldap.Ldap> factory)
factory
- to create ldap objects withvoid setLdapPoolConfig(edu.vt.middleware.ldap.pool.LdapPoolConfig config)
config
- to manage ldap pool withvoid setBlockWhenEmpty(boolean block)
block
- when the pool is emptyvoid initialize()
edu.vt.middleware.ldap.Ldap checkOut() throws Exception
Exception
- thrown if there is a problem checking in an Ldap
objectCopyright © 1999–2014. All rights reserved.