// and now we close all open transactionscopes and reset the storage
TransactionBeanStorage oldStorage = TransactionBeanStorage.getStorage();
TransactionBeanStorage.resetStorage();
// we do this delayed to allow new transactions in a PreDestroy method
oldStorage.endAllTransactionScopes();
}
}
else
{
// we are NOT the outermost TransactionInterceptor