Better yet, if you want to use AOP Alliance MethodInterceptors, that is already supported in HiveMind 1.1. I have an example of it in my article (http://www.theserverside.com/articles/article.tss?l=HivemindBuzz).
-----Original Message----- From: Hugo Palma [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 19, 2005 9:49 AM To: [email protected] Subject: Re: Interceptors 101 examples Have you checked out http://jakarta.apache.org/hivemind/hivemind-examples/logging.html Cheers Hugo Vinicius Carvalho wrote: > Hello there! I was wondering if someone has a nice 101 example of > interceptors usage. Basically what I'd like to do is much more like > AOP interceptors > > Implement a class that perform something, and call that class before a > given method on a given service executes. I'd like to use this on > hivemind to ensure data integrity for example: > > before every update method, check if the id in the pojo is not null ... :D > > Any suggestion to point me where to start? > > > Thanks --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
