Apache Groovy

Groovy 是一款功能强大的、可选择是否进行类型定义的动态语言,具有静态类型定义和静态编译功能。它提供简洁的语法,可以与任何现有的 Java 应用程序顺畅集成。

Groovy is a powerful, optionally typed, and dynamic language, with static-typing and static compilation capabilities. It offers a concise syntax and integrates smoothly with any existing Java application.

Spring Framework 提供了一个专门的 ApplicationContext,它支持基于 Groovy 的 Bean 定义 DSL。有关更多详细信息,请参阅 The Groovy Bean Definition DSL

The Spring Framework provides a dedicated ApplicationContext that supports a Groovy-based Bean Definition DSL. For more details, see The Groovy Bean Definition DSL.

对 Groovy 的更多支持,包括用 Groovy 编写的 Bean、可刷新的脚本 Bean 等,可在 Dynamic Language Support 中获取。

Further support for Groovy, including beans written in Groovy, refreshable script beans, and more is available in Dynamic Language Support.