
public class ConfigurableRecoveryPlugin extends Object implements org.jboss.jca.core.spi.recovery.RecoveryPlugin
| Constructor and Description |
|---|
ConfigurableRecoveryPlugin()
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
|
void |
setCloseMethod(String v)
Set close method name
|
void |
setEnableClose(boolean v)
Enable close method call
|
void |
setEnableIsValid(boolean v)
Enable isValid method call
|
void |
setIsValidOverride(boolean v)
Override value for isValid method call if not enabled
|
void |
setIsValidValue(int v)
Set isValid method parameter
|
public void setEnableIsValid(boolean v)
v - The valuepublic void setIsValidValue(int v)
v - The valuepublic void setIsValidOverride(boolean v)
v - The valuepublic void setEnableClose(boolean v)
v - The valuepublic void setCloseMethod(String v)
v - The valuepublic 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)