Package org.ldaptive.pool
Class BindConnectionPassivator
java.lang.Object
org.ldaptive.pool.BindConnectionPassivator
- All Implemented Interfaces:
Function<Connection,,Boolean> ConnectionPassivator
Passivates a connection by performing a bind operation on it.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate BindRequestBind request to perform passivation with.private final org.slf4j.LoggerLogger for this class. -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new bind passivator.Creates a new bind passivator. -
Method Summary
Modifier and TypeMethodDescriptionapply(Connection conn) Returns the bind request.voidSets the bind request.toString()
-
Field Details
-
logger
private final org.slf4j.Logger loggerLogger for this class. -
bindRequest
Bind request to perform passivation with.
-
-
Constructor Details
-
BindConnectionPassivator
public BindConnectionPassivator()Creates a new bind passivator. -
BindConnectionPassivator
Creates a new bind passivator.- Parameters:
br- to use for binds
-
-
Method Details