I just created a wiki page (1st draft) to support a discussion on the refactoring of our
current client delegates into an agnostic model:
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossMessagingDelegateRefactoring
My goal is to make this refactoring in 3 or 4 steps, to make the process easier.
1st - Get rid os aspects (but keep any aspect acting as a generic interceptor such as
Failover/Exception/Close)
2nd - Introduce proxies finally replacing the AOP pointcuts.
3rd - Rename packages & classes to what we are targeting as the final model. (for
example, instead of ConnectionDelegate, rename it to just Connection... also rename the
package to something reflecting the agnostic idea)
4th - Remove the DelegateSupport and place IOSession (mina objects) into Connection
For the 1st iteration there is little or no discussions at all. We can just proceed on
removing those aspects as this is a just refactoring.
The wiki page will have more details and lets kick the discussion here now. I wanted to
reuse what was already discussed on our previous meetings and on forums. Please let me
know if you remember of any point previously discussed.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108266#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...