Ah...good suggestion. I just tried that (looked up the java:/TransactionManager from JNDI and executed the getTransaction() method from the object that lookup returned.
And, it turns out, it looks like I don't even have to do that much. I found that rather than going through JNDI, I can simply do this: com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.getTransaction() Turn out that static method call returns the exact same reference as would the call to getTransaction from the TransactionManager I looked up in JNDI. Unfortunately, this doesn't get me what I want. I'm going to return this thread over to the JBossTM forum because this is no longer an EJB3 question - I see no way of me adding my own CheckedAction to the transaction through this API. I need a JBossTM API to do this. But, if I DID have a JBossTM API to add my own CheckedAction, it would have been easy from the EJB3 standpoint: <interceptor-binding> | <ejb-name>*</ejb-name> | <interceptor-class>org.abc.TransactionInterruptInterceptor</interceptor-class> | </interceptor-binding> and my interceptor would install its CheckedAction in the JBossTM transaction where the CheckedAction would be something like: public class TransactionInterruptCheckedAction extends CheckedAction { | @Override | public synchronized void check(boolean isCommit, Uid actUid, Hashtable list) { | for (...each thread in the list...) { | thread_from_list.interrupt(); | } | super.check(isCommit, actUid, list); | } | } View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193202#4193202 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193202 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user