public interface XAResourceRecovery
Modifier and Type | Method and Description |
---|---|
javax.transaction.xa.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(java.lang.String p)
Initialise with all properties required to create the resource(s).
|
javax.transaction.xa.XAResource getXAResource() throws java.sql.SQLException
java.sql.SQLException
boolean initialise(java.lang.String p) throws java.sql.SQLException
p
- An arbitrary string from which initialization data
is obtained.true
if initialization happened successfully,
false
otherwise.java.sql.SQLException
boolean hasMoreResources()
true
if this instance can provide more
resources, false
otherwise.