jPOS 1.6.1 API Documentation

org.jpos.transaction
Interface GroupSelector

All Superinterfaces:
TransactionConstants, TransactionParticipant
All Known Implementing Classes:
BSHGroupSelector, HasEntry

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
Author:
apr
See Also:
TransactionParticipant

Field Summary
 
Fields inherited from interface org.jpos.transaction.TransactionConstants
ABORTED, NO_JOIN, PAUSE, PREPARED, READONLY, RETRY
 
Method Summary
 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 id
context - transaction context
Returns:
group name or null for no-action

jPOS.org