org.jpos.transaction.participant
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
public class BSHGroupSelector
- extends BSHTransactionParticipant
- implements GroupSelector
- Author:
- AMarques
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
selectMethod
protected BSHMethod selectMethod
BSHGroupSelector
public BSHGroupSelector()
setConfiguration
public void setConfiguration(org.jdom.Element e)
throws ConfigurationException
- Specified by:
setConfiguration in interface XmlConfigurable- Overrides:
setConfiguration in class BSHTransactionParticipant
- Parameters:
e - Configuration element
- Throws:
ConfigurationException - on error
select
public String select(long id,
Serializable context)
- Specified by:
select in interface GroupSelector
- Parameters:
id - transaction idcontext - transaction context
- Returns:
- group name or null for no-action
defaultSelect
public String defaultSelect(long id,
Serializable context)
Copyright © 1998-2012 jPOS.org. All Rights Reserved.