hivemind-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Carman" <ja...@carmanconsulting.com>
Subject RE: Interceptors 101 examples
Date Tue, 19 Jul 2005 13:57:02 GMT
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:hpalma@digitalis.pt] 
Sent: Tuesday, July 19, 2005 9:49 AM
To: hivemind-user@jakarta.apache.org
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: hivemind-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-user-help@jakarta.apache.org


Mime
View raw message