use of org.jaffa.transaction.services.configdomain.TransactionInfo in project jaffa-framework by jaffa-projects.
the class LockingService method deleteLockingTransactions.
/**
* Browses all Transactions looking for the locks, as specified in the transaction-configuration for the input dataBean.
* Deletes the matching Transactions.
*
* @param uow The UOW.
* @param dataBean Any serializable object.
* @throws FrameworkException Indicates some system error.
* @throws ApplicationExceptions Indicates application error(s).
*/
public static void deleteLockingTransactions(UOW uow, Object dataBean) throws FrameworkException, ApplicationExceptions {
// Load transaction configuration
TransactionInfo transactionInfo = ConfigurationService.getInstance().getTransactionInfo(dataBean);
// Delete the matching Transactions
deleteLockingTransactions(uow, dataBean, transactionInfo);
}
Aggregations