Announcement Announcement Module
Collapse
No announcement yet.
Creating proxy for the bean which is not annotated... Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Creating proxy for the bean which is not annotated...

    Hello,

    I am facing a issue with spring AOP. I have created an interceptor(aspect) class and given a point cut declaration like
    @Pointcut("within(com.abc..*) && @target(org.springframework.stereotype.Repository) ")

    the above declaration means that It would apply to all the classes which qualify "com.abc..*" expression and which has Repository annotation.

    But currently the annotation applies to all the classes which qualify "com.abc..*" expression even the classes that are not annotated with @Repository.

  • #2
    You can take help from

    http://www.concretestudy.com/spring/...op_support.php

    http://www.concretestudy.com/spring/...op_support.php

    Comment

    Working...
    X