I use aop for transaction management, using the aop schema for configuring the context.
I also have a bean that I proxy with a ProxyFactoryBean that uses a RegexpMethodPointcutAdvisor.
Now when Spring initializes the context, it picks up the RegexpMethodPointcutAdvisor in the AspectJAwareAdvisorAutoProxyCreator as an eligible advisor for my bean. Thus it creates a proxy.
I guess this AspectJAwareAdvisorAutoProxyCreator is a bean post processor that is instantiated automatically when I use the aop schema in my context definition.
However I choose to use the ProxyFactoryBean to define my bean, because I want to decide myself how the proxy should be created.
Is there a way to prevent the AspectJAwareAdvisorAutoProxyCreator to pick up the RegexpMethodPointcutAdvisor that I use in the ProxyFactoryBean?