what about defining an interface that extends TransactionManager and defines setCurrentXaResource?