hivemind-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vinicius Carvalho <java.vinic...@gmail.com>
Subject Interceptors 101 examples
Date Sat, 16 Jul 2005 17:56:33 GMT
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


Mime
View raw message