Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can AOP wrapping order be controlled? #47

Open
igorbga opened this issue Apr 6, 2018 · 0 comments
Open

Can AOP wrapping order be controlled? #47

igorbga opened this issue Apr 6, 2018 · 0 comments

Comments

@igorbga
Copy link

igorbga commented Apr 6, 2018

Hi,

I would like to have a 'Transactional' annotation to manage the transactions as shown in the documentation. I would also like to have another 'Locked' annotation that would work in a similar way but would use Symfony's Lock implementation to avoid the concurrent execution of a method.

But for my use case it is essential that the Locked interception is done before the Transactional interception.

I guess the ordering is determined by the ordering in which the pointcuts are matched but what determines in which order the pointcut classes will be executed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant