Package org.jpos.transaction
Interface GroupSelector
-
- All Superinterfaces:
TransactionConstants
,TransactionParticipant
- All Known Implementing Classes:
BSHGroupSelector
,HasEntry
,Switch
public interface GroupSelector extends TransactionParticipant
GroupSelector can be implemented by a TransactionParticipant in order to switch the transaction to a new group of participants.- Since:
- 1.4.7
- See Also:
TransactionParticipant
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
select(long id, java.io.Serializable context)
-
Methods inherited from interface org.jpos.transaction.TransactionParticipant
abort, commit, prepare
-
-
-
-
Method Detail
-
select
java.lang.String select(long id, java.io.Serializable context)
- Parameters:
id
- transaction idcontext
- transaction context- Returns:
- group name or null for no-action
-
-