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
 String select(long id, Serializable context)
           
 
Methods inherited from interface org.jpos.transaction.TransactionParticipant
abort, commit, prepare
 

Method Detail

select

String select(long id,
              Serializable context)
Parameters:
id - transaction id
context - transaction context
Returns:
group name or null for no-action


Copyright © 1998-2012 jPOS.org. All Rights Reserved.