[jboss-dev-forums] [Design of JBoss Portal] - Re: Question on UserInterceptor
joe_the_quick
do-not-reply at jboss.com
Mon Nov 27 16:44:30 EST 2006
hi there,
I've finally found out that an aspect would probably the most elegant solution for my problem:
I want to change the org.jboss.portal.core.aspects.server.UserInterceptor.
However, since its subclasses are referred in the LocaleInterceptor as well as in CoreComponentRequestContext it doesn't make sense to simply exchange it in the jboss-portal.sar/jboss-service.xml (which was the first solution I had in mind).
However, what is the most elegant way to create an aspect for the UserInterceptor-methods?
(where do I have to place what / change which configuration)?
I have read that I have to change the classes using the aopc-precompiler to intercept them using AOP. however, I don't want to change the Jboss-Classes (e.g. UserInterceptor) themselves.
any advice is very welcome.
Johannes
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989075#3989075
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989075
More information about the jboss-dev-forums
mailing list