[jboss-dev-forums] [Design of JBoss Transaction Services] - Re: UserTransactedStartedListener
adrian@jboss.org
do-not-reply at jboss.com
Wed Oct 1 08:48:38 EDT 2008
What I propose to do is add a new registry bean to transaction-service.xml
This will use the MC (un)install callbacks to keep track of UserTransactionStartedListeners
meaning they don't have to be directly configured with a reference to the UTs or the TM.
If they are there, they will be linked together, otherwise they won't.
The new registry will also allow mulitple listeners. Currently the api(s) only allow a singleton.
For now I propose that the registry still has the hardwiring shown above,
but including whatever EJB3 does to register a listener.
A fix to this other side of the api requires more work, e.g.
having the UT suppliers implement some interface such that the MC can
also do (un)install callbacks without the registry having to be pre-coded with a list
of available implementataions.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179781#4179781
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179781
More information about the jboss-dev-forums
mailing list