Cast the bean to TransactionResource when the call of
TransactionFactory.getTransactions()