public class SelectDestination extends java.lang.Object implements TransactionParticipant, Configurable, XmlConfigurable
| Modifier and Type | Class and Description |
|---|---|
static class |
SelectDestination.BinRange |
| Constructor and Description |
|---|
SelectDestination() |
| Modifier and Type | Method and Description |
|---|---|
int |
prepare(long id,
java.io.Serializable context)
Called by TransactionManager in preparation for a transaction
|
void |
setConfiguration(Configuration cfg) |
void |
setConfiguration(org.jdom2.Element xml) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitabort, commitpublic int prepare(long id,
java.io.Serializable context)
TransactionParticipantprepare in interface TransactionParticipantid - the Transaction identifiercontext - transaction contextpublic void setConfiguration(Configuration cfg)
setConfiguration in interface Configurablecfg - Configuration objectpublic void setConfiguration(org.jdom2.Element xml)
throws ConfigurationException
setConfiguration in interface XmlConfigurablexml - Configuration elementConfigurationException - SelectDestination expects an XML configuration in the following format: