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.

Performance impact of using aop

We have started to use spring aop for cross cutting aspects of our application (security & caching at the moment). …

spring performance aop spring-aop
Propagation behaviour of transaction

I am using annotation based declarative approach for spring aop. sample code ClassA{ @Transactional(readOnly = false, propagation = Propagation.REQUIRES_NEW) …

java spring transactions spring-aop
AOP : java.lang.IllegalArgumentException: error at ::0 can't find referenced pointcut

I am new to AOP. I got some problem like this. package org.suman.Aspect; import org.aspectj.lang.annotation.…

spring-aop
Retrieve parameter value from ProceedingJoinPoint

In my Request i have a parameter name "accessToken", how do i get request parameter value from ProceedingJoinPoint ? public Object …

aop spring-aop spring-aspects
Spring AOP pointcut for all methods in a controller

I want to run some code before every method in a Spring (3.2.3) @Controller. I have the following defined but it …

java spring spring-mvc spring-aop pointcut
JUnit tests for AspectJ

I am trying to write Junit tests for Custom Aspect. Here is the Aspect Class Snippet: @Aspect @Component public class …

java junit mockito aspectj spring-aop
Log the return value of a method using spring aop

I have a method which returns an object. I would like to print that object's value in my log using …

spring-aop
Aspectj in spring

I am getting the following error when i try to auto wire aspectj in spring org.xml.sax.SAXParseException: The …

java spring aop aspectj spring-aop
java.lang.IllegalArgumentException: warning no match for this type name: ru.sbt.filial.cards.aspect.SomeBean [Xlint:invalidAbsoluteTypeName]

I never used Spring AOP and trying to configure my first bean. It seems that I configured it properly, but …

java spring spring-aop
error Type referred to is not an annotation type:

I got the following Aspect @Around("execution(public * (@DisabledForBlockedAccounts *).*(..))" + " && @annotation(denyForTeam)") public Object translateExceptionsDenySelectedAccount(ProceedingJoinPoint pjp, Deny deny) …

spring aop spring-aop