[jboss-dev-forums] [Design of JCA on JBoss] - UOW port to JCA adapter for JBAS-3183
weston.price@jboss.com
do-not-reply at jboss.com
Thu Aug 31 09:44:50 EDT 2006
I am porting the StdServerSession/StdServerSessionPool code changes in HEAD and I had a few questions.
To support the code I need to figure out a way to get the XidFactory into the JmsServerSession. The TransactionManager is no problem because I can have the JmsActivation look him up from JNDI. However, the XidFactory is not bound by default. Rather than casting the TM to get the XidFactory or trying to look up the XidFactory MBean directly (wanting to keep JMX out of the adapter), I thought maybe the approach would be to have the XidFactory service bind itself into JNDI. At that point, it's the same process as looking up the TransactionManager.
The other approach would be to use the XidFactoryImpl directly, but I don't like the idea of this.
Other alternatives would be to create a TransactionManagerProviderAdapter thing, on the same level as the JNDIProviderAdapter.
Suggestions?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3968627#3968627
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3968627
More information about the jboss-dev-forums
mailing list