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