public class Debug extends Log implements AbortParticipant
Constructor and Description |
---|
Debug() |
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
|
int |
prepareForAbort(long id,
java.io.Serializable o)
Called by TransactionManager in preparation for a transaction
that is known to abort.
|
createDebug, createDebug, createError, createError, createFatal, createFatal, createInfo, createInfo, createLogEvent, createLogEvent, createTrace, createTrace, createWarn, createWarn, debug, debug, error, error, fatal, fatal, getLog, getLogger, getRealm, info, info, setLogger, setLogger, setRealm, trace, trace, warn, warn
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 int prepareForAbort(long id, java.io.Serializable o)
AbortParticipant
prepareForAbort
in interface AbortParticipant
id
- the Transaction identifiero
- transaction context