[jboss-dev-forums] [Design of JCA on JBoss] - [JBAS-6519] JCA / XAResourceRecovery

jesper.pedersen do-not-reply at jboss.com
Tue Feb 17 12:55:20 EST 2009


I have started looking into this task which builds on the discussion in the thread

http://www.jboss.com/index.html?module=bb&op=viewtopic&t=100435

The org.jboss.tm.XAResourceRecovery interface specifies that registered components should return an array of XAResource objects.

We have access to the XAResource objects in the org.jboss.resource.connectionmanager.TxConnectionManager class where they are handled through ManagedConnection.getXAResource() or at the ConnectionListener level - optional wrapped by the org.jboss.tm.XAResourceWrapper interface providing more information about the underlying EIS.

Getting the array of XAResource objects should be handled in such a way that it doesn't block the operation of the TxConnectionManager.

Btw - I don't see an usage of the org.jboss.tm.XAResourceWrapper interface in the transaction trunk/ module. Is this correct ?

As the current JCA implementation isn't fully exposed through the *-jboss-beans.xml - I would say that the hooks into the org.jboss.tm.XAResourceRecoveryRegistry should be handled using reflection in the startService() / stopService() method calls.

Feel free to add feedback.

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4210792#4210792

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4210792



More information about the jboss-dev-forums mailing list