@ThreadSafety(level=COMPLETELY_THREADSAFE) public final class AggregatePostConnectProcessor extends java.lang.Object implements PostConnectProcessor
Constructor and Description |
---|
AggregatePostConnectProcessor(java.util.Collection<? extends PostConnectProcessor> processors)
Creates a new aggregate post-connect processor that will invoke the given
set of post-connect processors in the order they are listed.
|
AggregatePostConnectProcessor(PostConnectProcessor... processors)
Creates a new aggregate post-connect processor that will invoke the given
set of post-connect processors in the order they are listed.
|
Modifier and Type | Method and Description |
---|---|
void |
processPostAuthenticatedConnection(LDAPConnection connection)
Performs any appropriate processing on the provided connection before
making it available for use in a connection pool.
|
void |
processPreAuthenticatedConnection(LDAPConnection connection)
Performs any appropriate processing on the provided connection before
making it available for use in a connection pool.
|
public AggregatePostConnectProcessor(PostConnectProcessor... processors)
processors
- The set of post-connect processors to be invoked.public AggregatePostConnectProcessor(java.util.Collection<? extends PostConnectProcessor> processors)
processors
- The set of post-connect processors to be invoked.public void processPreAuthenticatedConnection(LDAPConnection connection) throws LDAPException
processPreAuthenticatedConnection
in interface PostConnectProcessor
connection
- The connection for which the processing is to be
performed.LDAPException
- If a problem occurs during processing. If an
exception is thrown, then the connection will be
terminated and not used in the pool.public void processPostAuthenticatedConnection(LDAPConnection connection) throws LDAPException
processPostAuthenticatedConnection
in interface PostConnectProcessor
connection
- The connection for which the processing is to be
performed.LDAPException
- If a problem occurs during processing. If an
exception is thrown, then the connection will be
terminated and not used in the pool.