-
Aug 7th, 2012, 01:30 AM
#1
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.
-
Aug 9th, 2012, 04:37 AM
#2
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
-
Forum Rules