Allows for Compass to particiapte in a two phase commit transaction using JTA.
Enlists an javax.transaction.xa.XAResource Compass implementation with a current JTA javax.transaction.Transaction .
Transaction management is done by org.compass.core.transaction.XATransactionFactory so there is no need to implement suspend and resume (works the same way org.compass.core.transaction.JTASyncTransaction does). author: kimchy