Hi,
after 2 days of googling around I could not find a definitive answer to my
problem, so here it is:
we have a large Spring based webapp, which uses Spring AOP in quite a few places. Up till now we lived our lives happily with using interface proxies
applied using
Now we want to add some before-method advice to one of the Spring classesCode:<aop:aspectj-autoproxy/>
Code:org.springframework.transaction.support.TransactionTemplate
The problem is that we need to use the CGLIB proxy instead of the JDK one.
Now I know that we could just usebut that would mean that ALL proxies would be CGLIB based and we don't want that.Code:proxyTargetClass="true"
I've tried to mix aop:aspectj-autoproxy and ProxyFactoryBean with no success.
Is it possible to force one single Aspect to use CGLIB?
Thanks,
dratewka


Reply With Quote