Top "Pointcut" questions

@AspectJ pointcut for methods that override an interface method with an annotation

How can I write an aspectj pointcut that applies to method executions which override an interface method with an annotation? …

java aop aspectj pointcuts pointcut
Spring AOP pointcut is not well formed

Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.aop.aspectj.AspectJPointcutAdvisor#0': …

spring aop spring-aop pointcut
Spring pointcut designators differences (within vs execution)

Please... can anybody explain me what are the differences between using the following spring pointcut designators? Using "within pointcut designator": &…

java spring spring-aop pointcut
java.lang.IllegalArgumentException: error Type referred to is not an annotation type

I got the following advice :- @Before(value="@annotation(loggable)", argNames="joinPoint, loggable") public void before(JoinPoint joinPoint, Loggable loggable) { …

java spring aspectj pointcut
java.lang.IllegalArgumentException: error at ::0 can't find referenced pointcut

I'm really very new to Spring AOP. In my application, I had configured HiddenHttpMethodFilter that converts method parameters into HTTP …

spring aop spring-aop multipart pointcut
AspectJ pointcut expression match parameter annotations at any position

I'm trying to define a pointcut expression to match methods which contain a parameter annotated with a specific annotation, regardless …

java spring aop aspectj pointcut