Aug 7th, 2012, 01:30 AM
Creating proxy for the bean which is not annotated...
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
Tags for this Thread