Top "Spring-aop" questions

Spring AOP is the Spring Framework's version of AOP, implemented in pure Java and using the @AspectJ annotations from the AspectJ project.

Enable Spring AOP or AspectJ

This is following on from this question: Spring autowired bean for @Aspect aspect is null My initial understanding was that …

java spring aop spring-aop
AspectJ pointcut for annotated PRIVATE methods

I want to create a Pointcut for private methods that are annotated with a specific annotation. However my aspect is …

spring aop aspectj spring-aop
SpringFramework: instantiation exception

I'm new to Spring Framework so I decided to buy a book ("Spring in action" 3rd edition). Currently I'm at …

java spring aop spring-aop
Ordering aspects with Spring AOP && MVC

I am trying to use Spring AOP with Spring MVC Controller. I have 3 aspects, and want the to be in …

java spring spring-mvc spring-aop
Spring 4 Join point to get method argument names and values

I am using Spring 4.3. Is it possible to get method parameter names and values passed to it? I believe this …

spring spring-aop
Get AOP proxy from the object itself

Is possible to get the proxy of a given object in Spring? I need to call a function of a …

spring aop spring-aop
Spring AOP - pointcut for every method with an annotation

I am trying to define a pointcut, that would catch every method that is annotated with (i.e.) @CatchThis. This …

java spring aop spring-aop pointcut
Spring AOP: Getting parameters of the pointcut annotation

Consider I have defined the following aspect: @Aspect public class SampleAspect { @Around(value="@annotation(sample.SampleAnnotation)") public Object display(ProceedingJoinPoint …

spring aop spring-aop
Spring AOP: "no declaration can be found for element 'aop:config' "

I've seen that a few instances of this problem have been raised already. However, I am confident that I satisfy …

java spring aspectj spring-aop
How can I access methods attributes with Spring AOP (AspectJ-style)?

I need to intrecept some methods and their attributes by using annotations as point cuts, but how can I access …

java aop aspectj spring-aop