[jboss-dev-forums] [Design of EJB 3.0] - Re: UserTransactedStartedListener is not implemented in EJB3
adrian@jboss.org
do-not-reply at jboss.com
Tue Nov 25 07:32:23 EST 2008
"wolfc" wrote : Why is EJB2UserTransactionProvider not part of the transaction-spi?
|
| Shouldn't the EJB2UserTransactionProvider bean define a dependency on the UserTransactionRegistry?
No its an incallback.
| <bean name="UserTransactionRegistry" class="org.jboss.tm.usertx.UserTransactionRegistry">
|
| THIS REGISTERS ALL USER TRANSACTION PROVIDERS
|
| <!-- Register providers -->
| <incallback method="addProvider"/>
| <uncallback method="removeProvider"/>
|
| THIS REGISTERS THE LISTENERS (Currently only the CCM)
|
| <!-- Register listeners -->
| <incallback method="addListener"/>
| <uncallback method="removeListener"/>
| </bean>
|
That way you can remove the ejb and jca configs without having to redo
the other configurations.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4192074#4192074
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4192074
More information about the jboss-dev-forums
mailing list