|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LdapPoolStrategy
Used by the ldap data connector to interface with various pooling implementations.
Method Summary | |
---|---|
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. |
Method Detail |
---|
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
objectvoid checkIn(edu.vt.middleware.ldap.Ldap l) throws Exception
l
- the ldap object
Exception
- thrown if there is a problem checking out an Ldap
object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |