public class PooledSearchRoleResolver extends AbstractSearchRoleResolver implements PooledConnectionFactoryManager
Modifier and Type | Field and Description |
---|---|
private PooledConnectionFactory |
factory
Connection factory.
|
logger
Constructor and Description |
---|
PooledSearchRoleResolver()
Default constructor.
|
PooledSearchRoleResolver(PooledConnectionFactory cf)
Creates a new pooled role 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() |
search
createSearchOperation, getSearchCache, getSearchExceptionHandler, getSearchResponseHandlers, setSearchCache, setSearchExceptionHandler, setSearchResponseHandlers
private PooledConnectionFactory factory
public PooledSearchRoleResolver()
public PooledSearchRoleResolver(PooledConnectionFactory cf)
cf
- connection factorypublic PooledConnectionFactory getConnectionFactory()
getConnectionFactory
in interface PooledConnectionFactoryManager
public void setConnectionFactory(PooledConnectionFactory cf)
setConnectionFactory
in interface PooledConnectionFactoryManager
cf
- connection factoryprotected Connection getConnection() throws LdapException
AbstractSearchRoleResolver
getConnection
in class AbstractSearchRoleResolver
LdapException
- if an error occurs opening the connectionCopyright © 2003-2019 Virginia Tech. All Rights Reserved.