Class BSHGroupSelector
java.lang.Object
org.jpos.util.SimpleLogSource
org.jpos.transaction.participant.BSHTransactionParticipant
org.jpos.transaction.participant.BSHGroupSelector
- All Implemented Interfaces:
XmlConfigurable, AbortParticipant, GroupSelector, TransactionConstants, TransactionParticipant, LogSource
-
Field Summary
FieldsFields inherited from class BSHTransactionParticipant
abortMethod, commitMethod, prepareForAbortMethod, prepareMethodFields inherited from class SimpleLogSource
logger, realm -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondefaultSelect(long id, Serializable context) select(long id, Serializable context) voidsetConfiguration(org.jdom2.Element e) Methods inherited from class BSHTransactionParticipant
abort, commit, defaultAbort, defaultCommit, defaultPrepare, executeMethod, prepare, prepareForAbortMethods inherited from class SimpleLogSource
error, error, getLogger, getRealm, info, info, setLogger, setRealm, warning, warningMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface TransactionParticipant
abort, commit, prepare
-
Field Details
-
selectMethod
-
-
Constructor Details
-
BSHGroupSelector
public BSHGroupSelector()
-
-
Method Details
-
setConfiguration
- Specified by:
setConfigurationin interfaceXmlConfigurable- Overrides:
setConfigurationin classBSHTransactionParticipant- Parameters:
e- Configuration element- Throws:
ConfigurationException- on error
-
select
- Specified by:
selectin interfaceGroupSelector- Parameters:
id- transaction idcontext- transaction context- Returns:
- group name or null for no-action
-
defaultSelect
-