public class BindPassivator extends Object implements Passivator<Connection>
Modifier and Type | Field and Description |
---|---|
private BindRequest |
bindRequest
Bind request to perform passivation with.
|
private Logger |
logger
Logger for this class.
|
Constructor and Description |
---|
BindPassivator()
Creates a new bind passivator.
|
BindPassivator(BindRequest br)
Creates a new bind passivator.
|
Modifier and Type | Method and Description |
---|---|
BindRequest |
getBindRequest()
Returns the bind request.
|
boolean |
passivate(Connection c)
Passivate the supplied object.
|
void |
setBindRequest(BindRequest br)
Sets the bind request.
|
String |
toString() |
private final Logger logger
private BindRequest bindRequest
public BindPassivator()
public BindPassivator(BindRequest br)
br
- to use for bindspublic BindRequest getBindRequest()
public void setBindRequest(BindRequest br)
br
- bind requestpublic boolean passivate(Connection c)
Passivator
passivate
in interface Passivator<Connection>
c
- objectCopyright © 2003-2019 Virginia Tech. All Rights Reserved.