|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ResourceTransaction
The notion of a local transaction executed on a resource. Serves as a handle towards the transaction management module.
Method Summary | |
---|---|
void |
addHeuristicMessage(HeuristicMessage mesg)
Adds heuristic resolution information. |
HeuristicMessage[] |
getHeuristicMessages()
|
String |
getTid()
|
void |
resume()
Resumes a previously suspended tx. |
void |
suspend()
Suspends the work, so that underlying resources can be used for a next (sibling) invocation. |
Method Detail |
---|
String getTid()
void addHeuristicMessage(HeuristicMessage mesg) throws IllegalStateException
mesg
- The heuristic message.
IllegalStateException
- If no longer active.HeuristicMessage[] getHeuristicMessages()
void suspend() throws IllegalStateException, ResourceException
IllegalStateException
ResourceException
void resume() throws IllegalStateException, ResourceException
IllegalStateException
ResourceException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |