If I understand your question correctly, you somewhat answered it yourself.
As far as basic java rule of thumb, if you can reuse some of the functionality, then
"extend", otherwise "re-implement". However, since you are providing
another interceptor your inharitance comes from adding (before, in-between or after) to
already existing interceptor stack. So I would say write your own interceptor, deside
where you want to stick it and that is all you have to do.
As far as making it as Jboss service is entirely up to you. In other words if you want it
to be managed then yes make an MBean out of it, if not, then jaring your interceptor class
and throwing it in the lib directory will do (providing you specify implementation in the
server interceptor stack)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985583#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...