|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.internet2.middleware.shibboleth.common.attribute.resolver.provider.dataConnector.LdapPoolVTStrategy
public class LdapPoolVTStrategy
Ldap pool strategy backed by the vt-ldap library.
Constructor Summary | |
---|---|
LdapPoolVTStrategy()
Default constructor. |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LdapPoolVTStrategy()
Method Detail |
---|
public void setLdapPoolConfig(edu.vt.middleware.ldap.pool.LdapPoolConfig config)
setLdapPoolConfig
in interface LdapPoolStrategy
config
- to manage ldap pool withpublic void setLdapFactory(edu.vt.middleware.ldap.pool.LdapFactory<edu.vt.middleware.ldap.Ldap> factory)
setLdapFactory
in interface LdapPoolStrategy
factory
- to create ldap objects withpublic void setBlockWhenEmpty(boolean block)
setBlockWhenEmpty
in interface LdapPoolStrategy
block
- when the pool is emptypublic void initialize()
initialize
in interface LdapPoolStrategy
public edu.vt.middleware.ldap.Ldap checkOut() throws Exception
checkOut
in interface LdapPoolStrategy
Exception
public void checkIn(edu.vt.middleware.ldap.Ldap l) throws Exception
checkIn
in interface LdapPoolStrategy
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |