Announcement Announcement Module
Collapse
No announcement yet.
Adding custom logic to @Cacheable Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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.

  • #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...

    Comment

    Working...
    X