public class DefaultRecoveryPlugin extends java.lang.Object implements RecoveryPlugin
Constructor and Description |
---|
DefaultRecoveryPlugin()
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
close(java.lang.Object c)
Perform a close operation on the passed connection object instance - like
a CCI Connection instance.
|
boolean |
isValid(java.lang.Object c)
Check if the passed connection object instance is still valid, and hence
the underlying physical connection
|
public boolean isValid(java.lang.Object c) throws javax.resource.ResourceException
isValid
in interface RecoveryPlugin
c
- The connection instanceTrue
if the connection is still valid, otherwise false
javax.resource.ResourceException
- Thrown in case of an errorpublic void close(java.lang.Object c) throws javax.resource.ResourceException
close
in interface RecoveryPlugin
c
- The connection instancejavax.resource.ResourceException
- Thrown in case of an errorjavax.resource.cci.Connection
Copyright © 2013 IronJacamar (http://www.ironjacamar.org)