[jboss-dev-forums] [Design of JBoss Portal] - Re: Question on UserInterceptor
julien@jboss.com
do-not-reply at jboss.com
Thu Nov 30 04:39:33 EST 2006
Since 2.4, I think that the UserInterceptor is not used anymore in what you said.
what do you want to intercept ?
"joe_the_quick" wrote : 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=3989965#3989965
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989965
More information about the jboss-dev-forums
mailing list