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
| Instructs Spring to ignore operating system environment variables if a Spring
@@ -41,12 +41,12 @@ for details.
41
41
42
42
| `spring.index.ignore`
43
43
| Instructs Spring to ignore the components index located in
44
-
`META-INF/spring.components`. See <<core.adoc#beans-scanning-index, Generating an Index
45
-
of Candidate Components>>.
44
+
`META-INF/spring.components`. See xref:core/beans/classpath-scanning.adoc#beans-scanning-index[Generating an Index of Candidate Components]
45
+
.
46
46
47
47
| `spring.jdbc.getParameterType.ignore`
48
48
| Instructs Spring to ignore `java.sql.ParameterMetaData.getParameterType` completely.
49
-
See the note in <<data-access.adoc#jdbc-batch-list, Batch Operations with a List of Objects>>.
49
+
See the note in xref:data-access/jdbc/advanced.adoc#jdbc-batch-list[Batch Operations with a List of Objects].
50
50
51
51
| `spring.jndi.ignore`
52
52
| Instructs Spring to ignore a default JNDI environment, as an optimization for scenarios
@@ -62,17 +62,17 @@ for details.
62
62
63
63
| `spring.test.constructor.autowire.mode`
64
64
| The default _test constructor autowire mode_ to use if `@TestConstructor` is not present
65
-
on a test class. See <<testing.adoc#integration-testing-annotations-testconstructor,
66
-
Changing the default test constructor autowire mode>>.
65
+
on a test class. See xref:testing/annotations/integration-junit-jupiter.adoc#integration-testing-annotations-testconstructor[Changing the default test constructor autowire mode]
66
+
.
67
67
68
68
| `spring.test.context.cache.maxSize`
69
69
| The maximum size of the context cache in the _Spring TestContext Framework_. See
@@ -352,7 +352,7 @@ execution-only semantics. You only need to be aware of this difference if you co
352
352
`@AspectJ` aspects written for Spring and use `proceed` with arguments with the AspectJ
353
353
compiler and weaver. There is a way to write such aspects that is 100% compatible across
354
354
both Spring AOP and AspectJ, and this is discussed in the
355
-
<<aop-ataspectj-advice-proceeding-with-the-call, following section on advice parameters>>.
355
+
xref:core/aop/ataspectj/advice.adoc#aop-ataspectj-advice-proceeding-with-the-call[following section on advice parameters].
356
356
====
357
357
358
358
The value returned by the around advice is the return value seen by the caller of the
@@ -536,7 +536,7 @@ The following shows the advice that matches the execution of `@Auditable` method
536
536
// ...
537
537
}
538
538
----
539
-
<1> References the `publicMethod` named pointcut defined in <<aop-pointcuts-combining>>.
539
+
<1> References the `publicMethod` named pointcut defined in xref:core/aop/ataspectj/pointcuts.adoc#aop-pointcuts-combining[Combining Pointcut Expressions].
@@ -547,7 +547,7 @@ The following shows the advice that matches the execution of `@Auditable` method
547
547
// ...
548
548
}
549
549
----
550
-
<1> References the `publicMethod` named pointcut defined in <<aop-pointcuts-combining>>.
550
+
<1> References the `publicMethod` named pointcut defined in xref:core/aop/ataspectj/pointcuts.adoc#aop-pointcuts-combining[Combining Pointcut Expressions].
551
551
552
552
[[aop-ataspectj-advice-params-generics]]
553
553
=== Advice Parameters and Generics
@@ -633,7 +633,7 @@ of determining parameter names, an exception will be thrown.
633
633
634
634
`AspectJAnnotationParameterNameDiscoverer` :: Uses parameter names that have been explicitly
635
635
specified by the user via the `argNames` attribute in the corresponding advice or
636
-
pointcut annotation. See <<aop-ataspectj-advice-params-names-explicit>> for details.
636
+
pointcut annotation. See xref:core/aop/ataspectj/advice.adoc#aop-ataspectj-advice-params-names-explicit[Explicit Argument Names] for details.
637
637
`KotlinReflectionParameterNameDiscoverer` :: Uses Kotlin reflection APIs to determine
638
638
parameter names. This discoverer is only used if such APIs are present on the classpath.
639
639
`StandardReflectionParameterNameDiscoverer` :: Uses the standard `java.lang.reflect.Parameter`
@@ -679,7 +679,7 @@ The following example shows how to use the `argNames` attribute:
679
679
// ... use code and bean
680
680
}
681
681
----
682
-
<1> References the `publicMethod` named pointcut defined in <<aop-pointcuts-combining>>.
682
+
<1> References the `publicMethod` named pointcut defined in xref:core/aop/ataspectj/pointcuts.adoc#aop-pointcuts-combining[Combining Pointcut Expressions].
683
683
<2> Declares `bean` and `auditable` as the argument names.
@@ -693,7 +693,7 @@ The following example shows how to use the `argNames` attribute:
693
693
// ... use code and bean
694
694
}
695
695
----
696
-
<1> References the `publicMethod` named pointcut defined in <<aop-pointcuts-combining>>.
696
+
<1> References the `publicMethod` named pointcut defined in xref:core/aop/ataspectj/pointcuts.adoc#aop-pointcuts-combining[Combining Pointcut Expressions].
697
697
<2> Declares `bean` and `auditable` as the argument names.
698
698
699
699
If the first parameter is of type `JoinPoint`, `ProceedingJoinPoint`, or
@@ -712,7 +712,7 @@ point object, the `argNames` attribute does not need to include it:
712
712
// ... use code, bean, and jp
713
713
}
714
714
----
715
-
<1> References the `publicMethod` named pointcut defined in <<aop-pointcuts-combining>>.
715
+
<1> References the `publicMethod` named pointcut defined in xref:core/aop/ataspectj/pointcuts.adoc#aop-pointcuts-combining[Combining Pointcut Expressions].
716
716
<2> Declares `bean` and `auditable` as the argument names.
@@ -726,7 +726,7 @@ point object, the `argNames` attribute does not need to include it:
726
726
// ... use code, bean, and jp
727
727
}
728
728
----
729
-
<1> References the `publicMethod` named pointcut defined in <<aop-pointcuts-combining>>.
729
+
<1> References the `publicMethod` named pointcut defined in xref:core/aop/ataspectj/pointcuts.adoc#aop-pointcuts-combining[Combining Pointcut Expressions].
730
730
<2> Declares `bean` and `auditable` as the argument names.
731
731
732
732
The special treatment given to the first parameter of type `JoinPoint`,
@@ -743,7 +743,7 @@ the `argNames` attribute:
743
743
// ... use jp
744
744
}
745
745
----
746
-
<1> References the `publicMethod` named pointcut defined in <<aop-pointcuts-combining>>.
746
+
<1> References the `publicMethod` named pointcut defined in xref:core/aop/ataspectj/pointcuts.adoc#aop-pointcuts-combining[Combining Pointcut Expressions].
<1> References the `publicMethod` named pointcut defined in <<aop-pointcuts-combining>>.
756
+
<1> References the `publicMethod` named pointcut defined in xref:core/aop/ataspectj/pointcuts.adoc#aop-pointcuts-combining[Combining Pointcut Expressions].
757
757
758
758
759
759
[[aop-ataspectj-advice-proceeding-with-the-call]]
@@ -776,7 +776,7 @@ The following example shows how to do so:
776
776
return pjp.proceed(new Object[] {newPattern});
777
777
}
778
778
----
779
-
<1> References the `inDataAccessLayer` named pointcut defined in <<aop-common-pointcuts>>.
779
+
<1> References the `inDataAccessLayer` named pointcut defined in xref:core/aop/ataspectj/pointcuts.adoc#aop-common-pointcuts[Sharing Named Pointcut Definitions].
@@ -790,7 +790,7 @@ The following example shows how to do so:
790
790
return pjp.proceed(arrayOf<Any>(newPattern))
791
791
}
792
792
----
793
-
<1> References the `inDataAccessLayer` named pointcut defined in <<aop-common-pointcuts>>.
793
+
<1> References the `inDataAccessLayer` named pointcut defined in xref:core/aop/ataspectj/pointcuts.adoc#aop-common-pointcuts[Sharing Named Pointcut Definitions].
794
794
795
795
In many cases, you do this binding anyway (as in the preceding example).
Copy file name to clipboardExpand all lines: framework-docs/modules/ROOT/pages/core/aop/ataspectj/example.adoc
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -56,7 +56,7 @@ call `proceed` multiple times. The following listing shows the basic aspect impl
56
56
}
57
57
}
58
58
----
59
-
<1> References the `businessService` named pointcut defined in <<aop-common-pointcuts>>.
59
+
<1> References the `businessService` named pointcut defined in xref:core/aop/ataspectj/pointcuts.adoc#aop-common-pointcuts[Sharing Named Pointcut Definitions].
@@ -97,7 +97,7 @@ call `proceed` multiple times. The following listing shows the basic aspect impl
97
97
}
98
98
}
99
99
----
100
-
<1> References the `businessService` named pointcut defined in <<aop-common-pointcuts>>.
100
+
<1> References the `businessService` named pointcut defined in xref:core/aop/ataspectj/pointcuts.adoc#aop-common-pointcuts[Sharing Named Pointcut Definitions].
101
101
102
102
Note that the aspect implements the `Ordered` interface so that we can set the precedence of
103
103
the aspect higher than the transaction advice (we want a fresh transaction each time we
0 commit comments