Skip to content

Commit

Permalink
Issue #421 Set priority such as SecureInterceptor comes before Transa…
Browse files Browse the repository at this point in the history
…ctionalInterceptor in the resolved list.
  • Loading branch information
jeanouii authored and manovotn committed Feb 13, 2023
1 parent 95a2d2e commit 0cf157e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

@Interceptor
@MissileBinding
@Priority(Interceptor.Priority.APPLICATION)
@Priority(Interceptor.Priority.APPLICATION + 100)
public class MissileInterceptor {
public static boolean intercepted = false;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

@Secure
@Interceptor
@Priority(Interceptor.Priority.APPLICATION)
@Priority(Interceptor.Priority.APPLICATION - 500)
public class SecureInterceptor {
@AroundInvoke
public Object alwaysReturnThis(InvocationContext ctx) throws Exception {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

@Transactional
@Interceptor
@Priority(Interceptor.Priority.APPLICATION)
@Priority(Interceptor.Priority.APPLICATION - 100)
public class TransactionalInterceptor {
@AroundInvoke
public Object alwaysReturnThis(InvocationContext ctx) throws Exception {
Expand Down

0 comments on commit 0cf157e

Please sign in to comment.