If it's configured on-demand it should still be injected. So no NPE.
As for the optional part, I still say that it's not ejb3's call to say that lazy
transaction enlistment is done or not. Ejb3 defers to the UserTransactionRegistry for
that.
We're not talking about the CCM being there or not. Installing a CCM should be
optional. (Although I removed the optional function from EJBContainer (maybe not the
smartest move. ;-) ). There was a null check there (as it should be for optional
functions.))
The UserTransactionRegistry must be there, not optional, not on-demand (because of static
usage).
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193491#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...