import org.aspectj.lang.ProceedingJoinPoint; import org.aspectj.lang.annotation.Around; import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.reflect.MethodSignature; @Aspect public class LogAspect { @Around( "execution( * *.*(..) )" ) public void log( ProceedingJoinPoint jp ) throws Throwable { MethodSignature signature = (MethodSignature) jp.getSignature(); System.out.println( "executing " + signature.toString() ); jp.proceed(); } }