|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.unboundid.ldap.sdk.AggregatePostConnectProcessor
@ThreadSafety(level=COMPLETELY_THREADSAFE) public final class AggregatePostConnectProcessor
This class provides an implementation of a post-connect processor that makes it possible to invoke multiple post-connect processors as a single unit.
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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.Method Detail |
---|
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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |