Results 1 to 2 of 2

Thread: Creating proxy for the bean which is not annotated...

  1. #1

    Red face 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. #2
    Join Date
    Apr 2012
    Posts
    9

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •