문제

I using aspectj LTW in my guice application and I m trying to make the pointcut definition for the aspects controlled from a configuration file. for example:

pointcut publicOperation() : execution(*** READ THIS FROM CONFIG/PROPERTY FILE ****);
Object around() : publicOperation() {
        .....
    }

what all possible options that I have ?

Thanks

도움이 되었습니까?

해결책

Put your pointcut definitions into aop.xml as suggested by the The AspectJ Development Environment Guide.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top