I am developing a java application (JDK1.6) with the Spring framework (4.0.5) and AspectJ for registering AOP.
My Aspect classes work fine, but I cannot create a pointcut for the constructor object.
This is my object:
@Controller public class ApplicationController { public ApplicationController(String myString, MyObject myObject) { ... } ... .. . }
This is my Aspect class:
@Aspect @Component public class CommonLogAspect implements ILogAspect { Logger log = Logger.getLogger(CommonLogAspect.class);
How to create a pointcut for my constructor object?
thanks
source share