Jul 25th, 2007, 01:45 AM
Configuring specific bean for no proxy
I have what is hopefully a simple question. I have included <aop:aspectj-autoproxy /> in my xml config which results in every bean having a proxy wrapper. Without the aop configuration element the beans have no proxy wrapper. I have a bean which will have methods that will be rapidly called and would like to avoid the overhead of the proxy while still using spring as a locator. Is it possible to configure an individual bean to not have a proxy?
Jul 25th, 2007, 07:58 AM
Can you give us some more details about the problem you have ?
<aop:aspectj-autoproxy /> just enables @AspectJ support offered by Spring. Unless you define some aspect classes and pointcuts, you'll not have any proxy created for your classes.