I'm very new to Spring-Aspect. In fact, I just need to make a fix, while never implemented with aspect before. So, I have the following classes (not real names :D):
Validate
in packagecom.my
which callsValidateService
which callsDAO
What I need is an aspect, that will be called only if call to DAO
methods (say add
, create
etc.) has it's deep origin from Validate
class. Like the following:
* com.my..*.*(..)
-> ValidateService.validate()
-> …
[some other classes may be envolved] …
-> DAO.add(..)
So I am interested in this part:
* com.my..*.*(..)
-> [whatever] -> DAO.add(..)
Tried within
, call
, execute
but no luck. Can someone help? Using Spring Aspect 1.7.0
Many thanks in advance.