public abstract class StaticResource extends Object
| Constructor and Description |
|---|
StaticResource() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
endAssociation(org.omg.CosTransactions.Coordinator coord,
boolean complete)
Informs the object that an association has ended.
|
protected void |
register()
Registers the StaticResource object.
|
abstract void |
startAssociation(org.omg.CosTransactions.Coordinator coord,
boolean begin)
Informs the object that an association has started.
|
public abstract void startAssociation(org.omg.CosTransactions.Coordinator coord,
boolean begin)
That is, a thread association has begun on the calling thread for the transaction represented by the given Coordinator object. A flag is passed indicating whether this association is as a result of a begin operation.
coord - The transaction whose association is starting.begin - Indicates a begin rather than a resume.public abstract void endAssociation(org.omg.CosTransactions.Coordinator coord,
boolean complete)
That is, a thread association has ended on the calling thread for the transaction represented by the given Coordinator object. A flag is passed indicating whether this association is as a result of the transaction completing.
coord - The transaction whose association is starting.complete - Indicates a commit/rollback rather than a suspend.protected void register()
Until this method is called, the StaticResource object will not receive calls to start/endAssociation.
Copyright © 2017. All rights reserved.