Package org.ldaptive.pool
Class BindConnectionPassivator
java.lang.Object
org.ldaptive.AbstractFreezable
org.ldaptive.pool.BindConnectionPassivator
- All Implemented Interfaces:
Function<Connection,,Boolean> Freezable,ConnectionPassivator
Passivates a connection by performing a bind operation on it.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate BindRequestBind request to perform passivation with.private final 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()Methods inherited from class org.ldaptive.AbstractFreezable
assertMutable, freeze, freeze, freeze, isFrozen
-
Field Details
-
logger
Logger 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