public class Join extends java.lang.Object implements TransactionConstants, AbortParticipant, XmlConfigurable
Modifier and Type | Class and Description |
---|---|
static class |
Join.Runner |
Constructor and Description |
---|
Join() |
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.
|
void |
setConfiguration(org.jdom2.Element e) |
void |
setTransactionManager(TransactionManager mgr) |
public int prepare(long id, java.io.Serializable o)
TransactionParticipant
prepare
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 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(org.jdom2.Element e) throws ConfigurationException
setConfiguration
in interface XmlConfigurable
e
- Configuration elementConfigurationException
- on errorpublic void setTransactionManager(TransactionManager mgr)