public class BasicXARecovery extends Object implements XAResourceRecovery
| Constructor and Description |
|---|
BasicXARecovery() |
| Modifier and Type | Method and Description |
|---|---|
XAResource |
getXAResource()
Get a resource to use for recovery purposes.
|
boolean |
hasMoreResources()
Iterate through all of the resources this instance provides
access to.
|
boolean |
initialise(String parameter)
The recovery module will have chopped off this class name already.
|
public BasicXARecovery()
throws SQLException
SQLExceptionpublic boolean initialise(String parameter) throws SQLException
initialise in interface XAResourceRecoveryparameter - An arbitrary string from which initialization data
is obtained.true if initialization happened successfully,
false otherwise.SQLExceptionpublic XAResource getXAResource() throws SQLException
XAResourceRecoverygetXAResource in interface XAResourceRecoverySQLExceptionpublic boolean hasMoreResources()
XAResourceRecoveryhasMoreResources in interface XAResourceRecoverytrue if this instance can provide more
resources, false otherwise.Copyright © 2013. All rights reserved.