|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 | |
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). |
Method Detail |
public javax.transaction.xa.XAResource getXAResource() throws java.sql.SQLException
java.sql.SQLException
public boolean initialise(java.lang.String p) throws java.sql.SQLException
true
if initialization happened successfully,
false
otherwise.
java.sql.SQLException
public 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 |