-
Nov 24th, 2011, 09:07 AM
#1
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?
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