public class SendResponse extends java.lang.Object implements AbortParticipant, Configurable
| Modifier and Type | Class and Description |
|---|---|
static class |
SendResponse.HeaderStrategy |
| Constructor and Description |
|---|
SendResponse() |
| Modifier and Type | Method and Description |
|---|---|
void |
abort(long id,
java.io.Serializable context)
Called by TransactionManager upon transaction commit.
|
void |
commit(long id,
java.io.Serializable context)
Called by TransactionManager upon transaction commit.
|
int |
prepare(long id,
java.io.Serializable context)
Called by TransactionManager in preparation for a transaction
|
void |
setConfiguration(Configuration cfg) |
void |
setTransactionManager(TransactionManager tm) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprepareForAbortpublic int prepare(long id,
java.io.Serializable context)
TransactionParticipantprepare in interface TransactionParticipantid - the Transaction identifiercontext - transaction contextpublic void commit(long id,
java.io.Serializable context)
TransactionParticipantcommit in interface TransactionParticipantid - the Transaction identifiercontext - transaction contextpublic void abort(long id,
java.io.Serializable context)
TransactionParticipantabort in interface TransactionParticipantid - the Transaction identifiercontext - transaction contextpublic void setConfiguration(Configuration cfg) throws ConfigurationException
setConfiguration in interface Configurablecfg - Configuration objectConfigurationExceptionpublic void setTransactionManager(TransactionManager tm)