Skip to content

Commit a3e6228

Browse files
committed
Create Languages section
Issue: SPR-16044
1 parent c80aa83 commit a3e6228

9 files changed

+958
-941
lines changed

src/docs/asciidoc/core/core-beans.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -3868,7 +3868,7 @@ Notice how the `InstantiationTracingBeanPostProcessor` is simply defined. It doe
38683868
even have a name, and because it is a bean it can be dependency-injected just like any
38693869
other bean. (The preceding configuration also defines a bean that is backed by a Groovy
38703870
script. The Spring dynamic language support is detailed in the chapter entitled
3871-
<<integration.adoc#dynamic-language, Dynamic language support>>.)
3871+
<<languages.adoc#dynamic-language, Dynamic language support>>.)
38723872

38733873
The following simple Java application executes the preceding code and configuration:
38743874

src/docs/asciidoc/core/core-null-safety.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ at runtime.
4040

4141
They are also used to make Spring API null-safe in Kotlin projects since Kotlin natively
4242
supports https://kotlinlang.org/docs/reference/null-safety.html[null-safety]. More details
43-
are available in <<kotlin#null-safety,Kotlin support documentation>>.
43+
are available in <<languages#kotlin-null-safety,Kotlin support documentation>>.
4444

4545
== JSR 305 meta-annotations
4646

src/docs/asciidoc/index.adoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@ ORM, Marshalling XML.
2222
<<web-reactive.adoc#spring-webflux,Web Reactive>> :: Spring WebFlux,
2323
WebClient, WebSocket.
2424
<<integration.adoc#spring-integration,Integration>> :: Remoting, JMS, JCA, JMX, Email,
25-
Tasks, Scheduling, Cache, Dynamic languages.
26-
<<kotlin.adoc#kotlin,Kotlin>> :: Extensions, Bean Definition DSL, WebFlux DSL.
25+
Tasks, Scheduling, Cache.
26+
<<languages.adoc#languages,Languages>> :: Kotlin, Groovy, Dynamic languages.

src/docs/asciidoc/integration-appendix.adoc

-29
Original file line numberDiff line numberDiff line change
@@ -258,35 +258,6 @@ After...
258258

259259

260260

261-
[[xsd-schemas-lang]]
262-
=== The lang schema
263-
264-
The `lang` tags deal with exposing objects that have been written in a dynamic language
265-
such as JRuby or Groovy as beans in the Spring container.
266-
267-
These tags (and the dynamic language support) are comprehensively covered in the chapter
268-
entitled <<integration.adoc#dynamic-language,Dynamic language support>>.
269-
Please do consult that chapter for full details on this support and the `lang` tags themselves.
270-
271-
In the interest of completeness, to use the tags in the `lang` schema, you need to have
272-
the following preamble at the top of your Spring XML configuration file; the text in the
273-
following snippet references the correct schema so that the tags in the `lang` namespace
274-
are available to you.
275-
276-
[source,xml,indent=0]
277-
[subs="verbatim,quotes"]
278-
----
279-
<?xml version="1.0" encoding="UTF-8"?>
280-
<beans xmlns="http://www.springframework.org/schema/beans"
281-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
282-
__xmlns:lang="http://www.springframework.org/schema/lang"__ xsi:schemaLocation="
283-
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
284-
__http://www.springframework.org/schema/lang http://www.springframework.org/schema/lang/spring-lang.xsd"__> <!-- bean definitions here -->
285-
286-
</beans>
287-
----
288-
289-
290261

291262
[[xsd-schemas-jms]]
292263
=== The jms schema

0 commit comments

Comments
 (0)