Вопрос

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