Announcement Announcement Module
No announcement yet.
Problem with AOP and 3.1 Caching (EhCache) Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Problem with AOP and 3.1 Caching (EhCache)

    I wanted to use AOP with 3.1 caching (with EhCache). Now AOP wants also to proxy the EhCache classes. Seems this is only possible with CGLIB2. I do not want to use that.

    It is possible somehow to exclude some classes from auto proxy?
    I tried to use scoped proxy but here I can't say "no proxy" in xml config as I can in annotation.
    But it is not so easy to introduce the ehcach beans with annotations.

    Does anyone know a solution for that?