Announcement Announcement Module
No announcement yet.
cglib weirdness... Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • cglib weirdness...

    I've set some breakpoints in my advice which I can never seem to hit...but if i set proxyTargetClass=true, I get a message in eclipse saying that it can't hit said breakpoint because of missing line information in the class - the class name it references is one of those cglib$xyz proxy names...

    So, this seems to indicate that the breakpoint is trying to be hit, but the functionality in the advice is never executed.

    Tried running different jvms - jrockit, sun, no improvements.

    <bean id="advice" class="MyAdvice"/>
    <bean id="advisor" class=" dPointcutAdvisor">
    <property name="advice">
    <ref local="advice"/>
    <property name="pattern"><value>.*</value></property>
    <bean class="org.springframework.aop.framework.autoproxy .BeanNameAutoProxyCreator">
    <property name="proxyTargetClass">
    <property name="beanNames"><list><value>*</value></list></property>
    <property name="interceptorNames">