6

I have 2 aspects classes with the same point cut, but differences advices. I need to execute first one and then the other aspect. I can not use Spring "@Ordered" annotation, because I'm use pure aspectJ.

1

1 Answer 1

7

@DeclarePrecedenceis what you want to use in @AspectJ style, if native syntax is not your coding style of choice.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.