[jboss-dev-forums] [Design of JCA on JBoss] - Re: UOW port to JCA adapter for JBAS-3183
adrian@jboss.org
do-not-reply at jboss.com
Thu Aug 31 10:43:19 EDT 2006
Are you talking about the JMS inflow?
I thought you were talking about the old server session pool.
Making a resource adapter depend upon a jndi lookup is not very good.
If you want to do something non-portable, I'd rather you allowed
the JBoss BootstrapContext (RARDeployment) let you do a
getTransactionManager().
e.g.
| -RARDeployment implements BootstrapContext
| +RARDeployment implements JBossBootstrapContext
|
| public interface JBossBootstrapContext extends BootstrapContext
| {
| TransactionManager getTransactionManager();
| }
|
| |
| |
| | | TransactionManager tm = ((JBossBootstrapContext) bootstrapContext).getTransactionManager();
| | |
| |
| | In fact, as it currently stands, you can do getXATerminator()
| | and cast it to a TransactionManager, but that is a different story. :-)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3968659#3968659
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3968659
More information about the jboss-dev-forums
mailing list