I have the following code structure:
public interface InterfaceName {
@AnnotationTwo
public void method_name();
}
public class InterfaceNameImpl implements InterfaceName{
@AnnotationOne
public void method_name() {
}
}
When I call method_name, @AnnotationOne
is processed but @AnnotationTwo
is not (judging by the logs)
Do I need to make some sort of configuration or something for @AnnotationTwo
to be processed? (Also, the annotations' code is external, so I can't change that). Ideally, I want @AnnotationTwo
to be processed before @AnnotationOne
.
I have an aspectj join point around the execution of @AnnotaionTwo
and the corresponding code is not being executed. However the aspectj code corresponding to joint point @AnnotationOne
is executed. I want the code corresponding to @AnnotationTwo
to be processed before the code corresponding to @AnnotationOne
.
Note: I am using apsectj with load time weaving as described here