|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RecoveryPlugin

Defines the contract for an XA recovery plugin. An implementation of this SPI can provide feedback to the JCA container if the physinal connection is still valid to use for getting recovery information from. An implementation of this SPI must have a default constructor and will have its Java bean properties set after initialization.
| Method Summary | |
|---|---|
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 |
| Method Detail |
|---|
boolean isValid(Object c)
throws javax.resource.ResourceException
c - The connection instance
True if the connection is still valid, otherwise false
javax.resource.ResourceException - Thrown in case of an error
void close(Object c)
throws javax.resource.ResourceException
c - The connection instance
javax.resource.ResourceException - Thrown in case of an errorjavax.resource.cci.Connection
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||