|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XAResourceRecovery
To perform recovery on arbitrary XAResources we may need to obtain new instances. Users can provide implementations of this interface which we will use at recovery time to re-create XAResources and from them perform recovery.
Method Summary | |
---|---|
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 p)
Initialise with all properties required to create the resource(s). |
Method Detail |
---|
XAResource getXAResource() throws SQLException
SQLException
boolean initialise(String p) throws SQLException
p
- An arbitrary string from which initialization data
is obtained.
true
if initialization happened successfully,
false
otherwise.
SQLException
boolean hasMoreResources()
true
if this instance can provide more
resources, false
otherwise.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |