I believe you have to implement an around advice, instead of a before advice.
Because you can use proceed with your new arguments:
proceed(newArgs);
More Related Contents:
- @AspectJ pointcut for all methods of a class with specific annotation
- Spring autowired bean for @Aspect aspect is null
- AspectJ pointcut expression match parameter annotations at any position
- Spring @Transaction method call by the method within the same class, does not work?
- Spring AOP vs AspectJ
- How to use AOP with AspectJ for logging?
- Spring autowiring using @Configurable
- Use of proxies in Spring AOP
- spring creates proxy for wrong classes when using aop class level annotation
- JUnit tests for AspectJ
- Spring AOP Advice on Annotated Controllers
- How to instrument / advice a Spring Data (JPA) repository?
- Configuring AspectJ aspects using Spring IoC with JavaConfig?
- Spring – @Transactional – What happens in background?
- Spring AOP not working for method call inside another method
- Emulate annotation inheritance for interfaces and methods with AspectJ
- How to make Lombok and AspectJ work together?
- Tracking down cause of Spring’s “not eligible for auto-proxying”
- Spring: Standard Logging aspect (interceptor)
- Spring AOP not working, when the method is called internally within a bean
- Using Instrumentation to record unhandled exception
- Uncatchable ChuckNorrisException
- Getting UndeclaredThrowableException instead of my own exception
- java.lang.IllegalStateException: No thread-bound request found, exception in aspect
- Get value of a parameter of an annotation in Java
- logging with AOP in spring?
- Spring + AspectJ weaving for java 8 using aspectj-maven-plugin
- Integration tests for AspectJ
- Java Aspect-Oriented Programming with Annotations
- how to retransform a class at runtime