public class PooledSearchDnResolver extends AbstractSearchDnResolver implements PooledConnectionFactoryManager
Modifier and Type | Field and Description |
---|---|
private PooledConnectionFactory |
factory
Connection factory.
|
logger
Constructor and Description |
---|
PooledSearchDnResolver()
Default constructor.
|
PooledSearchDnResolver(PooledConnectionFactory cf)
Creates a new pooled search dn resolver.
|
Modifier and Type | Method and Description |
---|---|
protected Connection |
getConnection()
Retrieve a connection that is ready for use.
|
PooledConnectionFactory |
getConnectionFactory()
Returns the connection factory.
|
void |
setConnectionFactory(PooledConnectionFactory cf)
Sets the connection factory.
|
String |
toString() |
createSearchFilter, createSearchRequest, getAllowMultipleDns, getBaseDn, getDerefAliases, getReferralHandler, getSubtreeSearch, getUserFilter, getUserFilterParameters, performLdapSearch, resolve, resolveDn, setAllowMultipleDns, setBaseDn, setDerefAliases, setReferralHandler, setSubtreeSearch, setUserFilter, setUserFilterParameters
createSearchOperation, getSearchCache, getSearchExceptionHandler, getSearchResponseHandlers, setSearchCache, setSearchExceptionHandler, setSearchResponseHandlers
private PooledConnectionFactory factory
public PooledSearchDnResolver()
public PooledSearchDnResolver(PooledConnectionFactory cf)
cf
- connection factorypublic PooledConnectionFactory getConnectionFactory()
PooledConnectionFactoryManager
getConnectionFactory
in interface PooledConnectionFactoryManager
public void setConnectionFactory(PooledConnectionFactory cf)
PooledConnectionFactoryManager
setConnectionFactory
in interface PooledConnectionFactoryManager
cf
- connection factoryprotected Connection getConnection() throws LdapException
AbstractSearchDnResolver
getConnection
in class AbstractSearchDnResolver
LdapException
- if an error occurs opening the connectionCopyright © 2003-2019 Virginia Tech. All Rights Reserved.