Announcement Announcement Module
Collapse
No announcement yet.
Configuring specific bean for no proxy Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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

  • #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.

    Comment

    Working...
    X