public class Forward extends java.lang.Object implements TransactionParticipant, Configurable
Constructor and Description |
---|
Forward() |
Modifier and Type | Method and Description |
---|---|
void |
abort(long id,
java.io.Serializable o)
Called by TransactionManager upon transaction commit.
|
void |
commit(long id,
java.io.Serializable o)
Called by TransactionManager upon transaction commit.
|
int |
prepare(long id,
java.io.Serializable o)
Called by TransactionManager in preparation for a transaction
|
void |
setConfiguration(Configuration cfg) |
public int prepare(long id, java.io.Serializable o)
TransactionParticipant
prepare
in interface TransactionParticipant
id
- the Transaction identifiero
- transaction contextpublic void commit(long id, java.io.Serializable o)
TransactionParticipant
commit
in interface TransactionParticipant
id
- the Transaction identifiero
- transaction contextpublic void abort(long id, java.io.Serializable o)
TransactionParticipant
abort
in interface TransactionParticipant
id
- the Transaction identifiero
- transaction contextpublic void setConfiguration(Configuration cfg) throws ConfigurationException
setConfiguration
in interface Configurable
cfg
- Configuration objectConfigurationException