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.

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
AspectJ + Gradle configuration

I'd like to use AspectJ in Gradle project (it's not an Android project - just a simple Java app). Here …

java gradle aspectj
AspectJ pointcut on constructor object

I need to inject few methods to every initialized object using AspectJ. I thought using this : pointcut vistaInjection(Object o) : …

java aop aspectj code-injection pointcut
execution Vs. call Join point

I have two different aspect classes to count the number of non-static method calls for an execution of a test …

aop aspectj
What is AspectJ good for?

First let me note, that I use AspectJ and I like it, but what else can I do with it. …

java aspectj aop aspects
Adding AspectJ to pom.xml changed Java version with Maven, why?

UPDATE: here is my maven-compiler-plugin configuration: <plugin> <groupId>org.apache.maven.plugins</groupId> <…

java maven aspectj pom.xml
Syntax error, annotations are only available if source level is 5.0 - AspectJ in Maven

I am trying to use the aspectj-maven-plugin in a maven project. At compile time, I get: Syntax error, annotations are …

java annotations aspectj
How to configure load-time weaving with AspectJ and Tomcat?

I tried to configure load-time weaving (for doing profiling with Perf4J) in the next way: 1) I added aop.xml …

java tomcat aspectj load-time-weaving perf4j
No matching factory method found: factory method 'aspectOf()'

I have the following aspect: package trc.suivi.aspects; import java.util.Date; import org.apache.log4j.Logger; import …

spring aop aspectj spring-roo