You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-aop/src/main/java/org/springframework/aop/aspectj/autoproxy/AspectJAwareAdvisorAutoProxyCreator.java
+22-20Lines changed: 22 additions & 20 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
/*
2
-
* Copyright 2002-2018 the original author or authors.
2
+
* Copyright 2002-2020 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -50,27 +50,27 @@ public class AspectJAwareAdvisorAutoProxyCreator extends AbstractAdvisorAutoProx
50
50
51
51
52
52
/**
53
-
* Sort the rest by AspectJ precedence. If two pieces of advice have
54
-
* come from the same aspect they will have the same order.
55
-
* Advice from the same aspect is then further ordered according to the
53
+
* Sort the supplied {@link Advisor} instances according to AspectJ precedence.
54
+
* <p>If two pieces of advice come from the same aspect, they will have the same
55
+
* order. Advice from the same aspect is then further ordered according to the
56
56
* following rules:
57
57
* <ul>
58
-
* <li>if either of the pair is after advice, then the advice declared
59
-
* last gets highest precedence (runs last)</li>
60
-
* <li>otherwise the advice declared first gets highest precedence (runs first)</li>
58
+
* <li>If either of the pair is <em>after</em> advice, then the advice declared
59
+
* last gets highest precedence (i.e., runs last).</li>
60
+
* <li>Otherwise the advice declared first gets highest precedence (i.e., runs
61
+
* first).</li>
61
62
* </ul>
62
63
* <p><b>Important:</b> Advisors are sorted in precedence order, from highest
63
64
* precedence to lowest. "On the way in" to a join point, the highest precedence
64
-
* advisor should run first. "On the way out" of a join point, the highest precedence
65
-
* advisor should run last.
65
+
* advisor should run first. "On the way out" of a join point, the highest
0 commit comments