IMO TransactionServices should also expose TransactionManager.

Since with AS7, which hides TM from JNDI, one cannot easily register 
XAResources:

Transaction
   public boolean enlistResource(XAResource xaRes) throws RollbackException, 
IllegalStateException, SystemException

or suspending/resuming current Tx.
Specially XAResources handling is a must to be able to enlist if you're doing 
some non-trivial tx-based work.

This way the integration layer would make sure the TM is exposed as a CDI 
service.

Wdyt?

-Ales



_______________________________________________
weld-dev mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/weld-dev

Reply via email to