Top "Aspectj" questions

AspectJ is an aspect-oriented extension to the Java programming language that enables clean modularization of crosscutting concerns such as logging, error handling, standards enforcement and feature variations.

logging with AOP in spring?

I am new to spring in my office . So there is no guidance for me. I need to implement the …

java spring spring-mvc log4j aspectj
Exception java.lang.NoClassDefFoundError: org/aspectj/lang/annotation/Aspect

I recently started working on AspectJ and wrote a simple Aspect for Logging. I have defined below dependencies into my …

java spring aop aspectj spring-aop
AspectJ Maven Plugin cannot compile my project

I try to use aspectj maven plugin for compile project with aspectj compiler and then I try to package classes …

java maven jakarta-ee aspectj aspectj-maven-plugin
@AspectJ pointcut for all methods inside package

I have this working code for a specific package, but i want to configure it for all controllers, service and …

java spring aop aspectj spring-aop
Maven + AspectJ - all steps to configure it

I have a problem with applying aspects to my maven project. Probably I am missing something, so I've made a …

java maven aspectj
Joinpoint VS ProceedingJoinPoint in AOP using aspectJ?

Can any one tell me what is the difference between Joinpoint and Proceedingjoinpoint? When to use Joinpoint and Proceedingjoinpoint in …

java spring aspectj spring-aop
Spring AOP pointcut that matches annotation on interface

I have a service class implemented in Java 6 / Spring 3 that needs an annotation to restrict access by role. I have …

java spring aop aspectj pointcut
Spring AOP - why do i need aspectjweaver?

i wrote a very simple Aspect with Spring AOP. It works, but i have some problems understanding what is really …

java spring aop aspectj spring-aop
aspectj pointcut with annotation parameters

I am using aspectj to intercept methods that are annotated with @Profile(description="something") @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.METHOD) …

aspectj
Getting the java.lang.reflect.Method from a ProceedingJoinPoint?

The question is short and simple: Is there a way to get the Method object from an apsectj ProceedingJoinPoint? Currently …

spring jakarta-ee aop aspectj spring-aop