mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
User can add (a single) beans{} DSL declaration (see GroovyBeanDefinitionReader in Spring 4 for more detail) anywhere at the top level of an application source file. It will be compiled to a closure and fed in to the application context through a GroovyBeanDefinitionReader. Cool! The example spring-boot-cli/samples/beans.groovy runs in an integration test and passes (see SampleIntegrationTests). |
||
---|---|---|
.. | ||
actuator.groovy | ||
app.groovy | ||
beans.groovy | ||
device.groovy | ||
http.groovy | ||
integration.groovy | ||
jms.groovy | ||
job.groovy | ||
rabbit.groovy | ||
reactor.groovy | ||
runner.groovy | ||
runner.xml | ||
secure.groovy | ||
template.groovy | ||
tx.groovy | ||
ui.groovy | ||
web.groovy |