-
Oct 9th, 2012, 03:56 AM
#1
Adding custom logic to @Cacheable
Hi,
Is there a way in which one can add some logic to the @Cacheable aspect?
Can this be done by an aspect which would intercept all the @Cacheable services? And then, you would have to specify which of the aspects to run first (yours, or the Cacheable one)?
I am thinking of a simple case, just logging some info, then invoking the default behavior.
-
Oct 9th, 2012, 05:23 AM
#2
I suggest a read of the reference guide, especially the AOP part this explains how to specify aspects and how to specify/control the order of execution...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules