An abstract resource manager that supports local and xa transactions.