Re: Re: How to set interceptor attributes

"Eric Jain" <[email protected]> Fri, 9 May 2003 20:20:49 +0200
Newsgroups gmane.comp.java.nanning.devel
Organization Swiss Institute of Bioinformatics
Message-ID <001101c31657$b7852cf0$c300000a@caliente>
> If you're used to specing everything upside
> down for a single class at a time then the XML-configs
> might be easier to use.

One of the things I like about config files is that they are very
straightforward and simple too understand, even for people without any
knowledge of aspect-oriented programming. Possible that they do not work
well for more complex setups, but at least for our purposes they do seem
pretty well suited.


> You do know that the interceptor can filter out
> methods by implementing FilterMethodsInterceptor
> right?

Been there, done that... However I'd rather maintain different config
files for different sites that different code.


Incidently, it seems that Nanning creates one interceptor instance per
object rather than per method for MethodInterceptors. There isn't any
way to change this, is there?


--
Eric Jain



-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com