-
Jul 25th, 2007, 01:45 AM
#1
Configuring specific bean for no proxy
Hello,
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?
Regards,
Ryan
-
Jul 25th, 2007, 07:58 AM
#2
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.
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