public class BSHGroupSelector extends BSHTransactionParticipant implements GroupSelector
Modifier and Type | Field and Description |
---|---|
protected BSHMethod |
selectMethod |
abortMethod, commitMethod, prepareForAbortMethod, prepareMethod
logger, realm
Constructor and Description |
---|
BSHGroupSelector() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
defaultSelect(long id,
java.io.Serializable context) |
java.lang.String |
select(long id,
java.io.Serializable context) |
void |
setConfiguration(org.jdom2.Element e) |
abort, commit, defaultAbort, defaultCommit, defaultPrepare, executeMethod, prepare, prepareForAbort
error, error, getLogger, getRealm, info, info, setLogger, setRealm, warning, warning
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
abort, commit, prepare
protected BSHMethod selectMethod
public void setConfiguration(org.jdom2.Element e) throws ConfigurationException
setConfiguration
in interface XmlConfigurable
setConfiguration
in class BSHTransactionParticipant
e
- Configuration elementConfigurationException
- on errorpublic java.lang.String select(long id, java.io.Serializable context)
select
in interface GroupSelector
id
- transaction idcontext
- transaction contextpublic java.lang.String defaultSelect(long id, java.io.Serializable context)