| org.araneaframework.framework.TransactionContext
All known Subclasses: org.araneaframework.framework.filter.StandardTransactionFilterWidget,
TransactionContext | public interface TransactionContext extends Serializable(Code) | | TransactionContext filters routing of duplicate requests. The detection of
duplicate requests is achieved through defining a transaction id
by getTransactionId() and checking its consistency with
isConsistent()
author: "Toomas Römer" author: Jevgeni Kabanov (ekabanov at araneaframework dot org) |
Field Summary | |
final public static String | OVERRIDE_KEY The key in the request that indicates situation where transaction id
was overrriden on purpose. | final public static String | TRANSACTION_ID_KEY The key in the request, under which is the transaction id. |
OVERRIDE_KEY | final public static String OVERRIDE_KEY(Code) | | The key in the request that indicates situation where transaction id
was overrriden on purpose.
|
TRANSACTION_ID_KEY | final public static String TRANSACTION_ID_KEY(Code) | | The key in the request, under which is the transaction id.
|
getNextTransactionId | public Long getNextTransactionId()(Code) | | Returns the transaction id expected in the next request.
since: 1.1 |
getTransactionId | public Object getTransactionId()(Code) | | Returns the transaction id of the current request.
|
isConsistent | public boolean isConsistent()(Code) | | Returns true if current request is consistent (not a rerecurring one).
|
|
|