Skip to content

Commit 139cde4

Browse files
rwinchrstoyanchev
authored andcommitted
Fix cross references
1 parent 6b341dd commit 139cde4

File tree

296 files changed

+1505
-1505
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

296 files changed

+1505
-1505
lines changed

framework-docs/modules/ROOT/pages/appendix.adoc

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ for details.
3030

3131
| `spring.expression.compiler.mode`
3232
| The mode to use when compiling expressions for the
33-
<<core.adoc#expressions-compiler-configuration, Spring Expression Language>>.
33+
xref:core/expressions/evaluation.adoc#expressions-compiler-configuration[Spring Expression Language].
3434

3535
| `spring.getenv.ignore`
3636
| Instructs Spring to ignore operating system environment variables if a Spring
@@ -41,12 +41,12 @@ for details.
4141

4242
| `spring.index.ignore`
4343
| 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+
.
4646

4747
| `spring.jdbc.getParameterType.ignore`
4848
| 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].
5050

5151
| `spring.jndi.ignore`
5252
| Instructs Spring to ignore a default JNDI environment, as an optimization for scenarios
@@ -62,17 +62,17 @@ for details.
6262

6363
| `spring.test.constructor.autowire.mode`
6464
| 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+
.
6767

6868
| `spring.test.context.cache.maxSize`
6969
| The maximum size of the context cache in the _Spring TestContext Framework_. See
70-
<<testing.adoc#testcontext-ctx-management-caching, Context Caching>>.
70+
xref:testing/testcontext-framework/ctx-management/caching.adoc[Context Caching].
7171

7272
| `spring.test.enclosing.configuration`
7373
| The default _enclosing configuration inheritance mode_ to use if
7474
`@NestedTestConfiguration` is not present on a test class. See
75-
<<testing.adoc#integration-testing-annotations-nestedtestconfiguration, Changing the
76-
default enclosing configuration inheritance mode>>.
75+
xref:testing/annotations/integration-junit-jupiter.adoc#integration-testing-annotations-nestedtestconfiguration[Changing the default enclosing configuration inheritance mode]
76+
.
7777

7878
|===

framework-docs/modules/ROOT/pages/core/aop-api/concise-proxy.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ we override the transaction propagation settings:
5858

5959
Note that in the parent bean example, we explicitly marked the parent bean definition as
6060
being abstract by setting the `abstract` attribute to `true`, as described
61-
<<beans-child-bean-definitions, previously>>, so that it may not actually ever be
61+
xref:core/beans/child-bean-definitions.adoc[previously], so that it may not actually ever be
6262
instantiated. Application contexts (but not simple bean factories), by default,
6363
pre-instantiate all singletons. Therefore, it is important (at least for singleton beans)
6464
that, if you have a (parent) bean definition that you intend to use only as a template,

framework-docs/modules/ROOT/pages/core/aop-api/pfb.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,15 @@ In common with most `FactoryBean` implementations provided with Spring, the
4040
`ProxyFactoryBean` class is itself a JavaBean. Its properties are used to:
4141

4242
* Specify the target you want to proxy.
43-
* Specify whether to use CGLIB (described later and see also <<aop-pfb-proxy-types>>).
43+
* Specify whether to use CGLIB (described later and see also xref:core/aop-api/pfb.adoc#aop-pfb-proxy-types[JDK- and CGLIB-based proxies]).
4444

4545
Some key properties are inherited from `org.springframework.aop.framework.ProxyConfig`
4646
(the superclass for all AOP proxy factories in Spring). These key properties include
4747
the following:
4848

4949
* `proxyTargetClass`: `true` if the target class is to be proxied, rather than the
5050
target class's interfaces. If this property value is set to `true`, then CGLIB proxies
51-
are created (but see also <<aop-pfb-proxy-types>>).
51+
are created (but see also xref:core/aop-api/pfb.adoc#aop-pfb-proxy-types[JDK- and CGLIB-based proxies]).
5252
* `optimize`: Controls whether or not aggressive optimizations are applied to proxies
5353
created through CGLIB. You should not blithely use this setting unless you fully
5454
understand how the relevant AOP proxy handles optimization. This is currently used
@@ -66,7 +66,7 @@ the following:
6666
Other properties specific to `ProxyFactoryBean` include the following:
6767

6868
* `proxyInterfaces`: An array of `String` interface names. If this is not supplied, a CGLIB
69-
proxy for the target class is used (but see also <<aop-pfb-proxy-types>>).
69+
proxy for the target class is used (but see also xref:core/aop-api/pfb.adoc#aop-pfb-proxy-types[JDK- and CGLIB-based proxies]).
7070
* `interceptorNames`: A `String` array of `Advisor`, interceptor, or other advice names to
7171
apply. Ordering is significant, on a first come-first served basis. That is to say
7272
that the first interceptor in the list is the first to be able to intercept the
@@ -78,7 +78,7 @@ factories. You cannot mention bean references here, since doing so results in th
7878
+
7979
You can append an interceptor name with an asterisk (`*`). Doing so results in the
8080
application of all advisor beans with names that start with the part before the asterisk
81-
to be applied. You can find an example of using this feature in <<aop-global-advisors>>.
81+
to be applied. You can find an example of using this feature in xref:core/aop-api/pfb.adoc#aop-global-advisors[Using "`Global`" Advisors].
8282

8383
* singleton: Whether or not the factory should return a single object, no matter how
8484
often the `getObject()` method is called. Several `FactoryBean` implementations offer

framework-docs/modules/ROOT/pages/core/aop-api/pointcuts.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ Since 2.0, the most important type of pointcut used by Spring is
9292
`org.springframework.aop.aspectj.AspectJExpressionPointcut`. This is a pointcut that
9393
uses an AspectJ-supplied library to parse an AspectJ pointcut expression string.
9494

95-
See the <<aop, previous chapter>> for a discussion of supported AspectJ pointcut primitives.
95+
See the xref:core/aop.adoc[previous chapter] for a discussion of supported AspectJ pointcut primitives.
9696

9797

9898

framework-docs/modules/ROOT/pages/core/aop.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,18 @@ to), AOP complements Spring IoC to provide a very capable middleware solution.
1515
.Spring AOP with AspectJ pointcuts
1616
****
1717
Spring provides simple and powerful ways of writing custom aspects by using either a
18-
<<aop-schema, schema-based approach>> or the <<aop-ataspectj, @AspectJ annotation style>>.
18+
xref:core/aop/schema.adoc[schema-based approach] or the xref:core/aop/ataspectj.adoc[@AspectJ annotation style].
1919
Both of these styles offer fully typed advice and use of the AspectJ pointcut language
2020
while still using Spring AOP for weaving.
2121
2222
This chapter discusses the schema- and @AspectJ-based AOP support.
23-
The lower-level AOP support is discussed in <<aop-api, the following chapter>>.
23+
The lower-level AOP support is discussed in xref:core/aop-api.adoc[the following chapter].
2424
****
2525

2626
AOP is used in the Spring Framework to:
2727

2828
* Provide declarative enterprise services. The most important such service is
29-
<<data-access.adoc#transaction-declarative, declarative transaction management>>.
29+
xref:data-access/transaction/declarative.adoc[declarative transaction management].
3030
* Let users implement custom aspects, complementing their use of OOP with AOP.
3131

3232
NOTE: If you are interested only in generic declarative services or other pre-packaged

framework-docs/modules/ROOT/pages/core/aop/aspectj-programmatic.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
In addition to declaring aspects in your configuration by using either `<aop:config>`
55
or `<aop:aspectj-autoproxy>`, it is also possible to programmatically create proxies
66
that advise target objects. For the full details of Spring's AOP API, see the
7-
<<aop-api, next chapter>>. Here, we want to focus on the ability to automatically
7+
xref:core/aop-api.adoc[next chapter]. Here, we want to focus on the ability to automatically
88
create proxies by using @AspectJ aspects.
99

1010
You can use the `org.springframework.aop.aspectj.annotation.AspectJProxyFactory` class

framework-docs/modules/ROOT/pages/core/aop/ataspectj.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ for pointcut parsing and matching. The AOP runtime is still pure Spring AOP, tho
99
there is no dependency on the AspectJ compiler or weaver.
1010

1111
NOTE: Using the AspectJ compiler and weaver enables use of the full AspectJ language and
12-
is discussed in <<aop-using-aspectj>>.
12+
is discussed in xref:core/aop/using-aspectj.adoc[Using AspectJ with Spring Applications].
1313

1414

1515

framework-docs/modules/ROOT/pages/core/aop/ataspectj/advice.adoc

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
Advice is associated with a pointcut expression and runs before, after, or around method
55
executions matched by the pointcut. The pointcut expression may be either an _inline
6-
pointcut_ or a reference to a <<aop-common-pointcuts,_named pointcut_>>.
6+
pointcut_ or a reference to a xref:core/aop/ataspectj/pointcuts.adoc#aop-common-pointcuts[_named pointcut_].
77

88

99
[[aop-advice-before]]
@@ -44,7 +44,7 @@ The following example uses an inline pointcut expression.
4444
}
4545
----
4646

47-
If we use a <<aop-common-pointcuts,named pointcut>>, we can rewrite the preceding example
47+
If we use a xref:core/aop/ataspectj/pointcuts.adoc#aop-common-pointcuts[named pointcut], we can rewrite the preceding example
4848
as follows:
4949

5050
[source,java,indent=0,subs="verbatim",role="primary"]
@@ -352,7 +352,7 @@ execution-only semantics. You only need to be aware of this difference if you co
352352
`@AspectJ` aspects written for Spring and use `proceed` with arguments with the AspectJ
353353
compiler and weaver. There is a way to write such aspects that is 100% compatible across
354354
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].
356356
====
357357

358358
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
536536
// ...
537537
}
538538
----
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].
540540

541541
[source,kotlin,indent=0,subs="verbatim",role="secondary"]
542542
.Kotlin
@@ -547,7 +547,7 @@ The following shows the advice that matches the execution of `@Auditable` method
547547
// ...
548548
}
549549
----
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].
551551

552552
[[aop-ataspectj-advice-params-generics]]
553553
=== Advice Parameters and Generics
@@ -633,7 +633,7 @@ of determining parameter names, an exception will be thrown.
633633

634634
`AspectJAnnotationParameterNameDiscoverer` :: Uses parameter names that have been explicitly
635635
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.
637637
`KotlinReflectionParameterNameDiscoverer` :: Uses Kotlin reflection APIs to determine
638638
parameter names. This discoverer is only used if such APIs are present on the classpath.
639639
`StandardReflectionParameterNameDiscoverer` :: Uses the standard `java.lang.reflect.Parameter`
@@ -679,7 +679,7 @@ The following example shows how to use the `argNames` attribute:
679679
// ... use code and bean
680680
}
681681
----
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].
683683
<2> Declares `bean` and `auditable` as the argument names.
684684

685685
[source,kotlin,indent=0,subs="verbatim",role="secondary"]
@@ -693,7 +693,7 @@ The following example shows how to use the `argNames` attribute:
693693
// ... use code and bean
694694
}
695695
----
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].
697697
<2> Declares `bean` and `auditable` as the argument names.
698698

699699
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:
712712
// ... use code, bean, and jp
713713
}
714714
----
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].
716716
<2> Declares `bean` and `auditable` as the argument names.
717717

718718
[source,kotlin,indent=0,subs="verbatim",role="secondary"]
@@ -726,7 +726,7 @@ point object, the `argNames` attribute does not need to include it:
726726
// ... use code, bean, and jp
727727
}
728728
----
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].
730730
<2> Declares `bean` and `auditable` as the argument names.
731731

732732
The special treatment given to the first parameter of type `JoinPoint`,
@@ -743,7 +743,7 @@ the `argNames` attribute:
743743
// ... use jp
744744
}
745745
----
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].
747747

748748
[source,kotlin,indent=0,subs="verbatim",role="secondary"]
749749
.Kotlin
@@ -753,7 +753,7 @@ the `argNames` attribute:
753753
// ... use jp
754754
}
755755
----
756-
<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].
757757

758758

759759
[[aop-ataspectj-advice-proceeding-with-the-call]]
@@ -776,7 +776,7 @@ The following example shows how to do so:
776776
return pjp.proceed(new Object[] {newPattern});
777777
}
778778
----
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].
780780

781781
[source,kotlin,indent=0,subs="verbatim",role="secondary"]
782782
.Kotlin
@@ -790,7 +790,7 @@ The following example shows how to do so:
790790
return pjp.proceed(arrayOf<Any>(newPattern))
791791
}
792792
----
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].
794794

795795
In many cases, you do this binding anyway (as in the preceding example).
796796

framework-docs/modules/ROOT/pages/core/aop/ataspectj/aspectj-support.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ element, as the following example shows:
4747
----
4848

4949
This assumes that you use schema support as described in
50-
<<core.adoc#core.appendix.xsd-schemas, XML Schema-based configuration>>.
51-
See <<core.adoc#core.appendix.xsd-schemas-aop, the AOP schema>> for how to
50+
xref:core/appendix/xsd-schemas.adoc[XML Schema-based configuration].
51+
See xref:core/appendix/xsd-schemas.adoc#core.appendix.xsd-schemas-aop[the AOP schema] for how to
5252
import the tags in the `aop` namespace.
5353

5454

framework-docs/modules/ROOT/pages/core/aop/ataspectj/example.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ call `proceed` multiple times. The following listing shows the basic aspect impl
5656
}
5757
}
5858
----
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].
6060

6161
[source,kotlin,indent=0,subs="verbatim",role="secondary"]
6262
.Kotlin
@@ -97,7 +97,7 @@ call `proceed` multiple times. The following listing shows the basic aspect impl
9797
}
9898
}
9999
----
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].
101101

102102
Note that the aspect implements the `Ordered` interface so that we can set the precedence of
103103
the aspect higher than the transaction advice (we want a fresh transaction each time we

0 commit comments

Comments
 (0)