Skip to content

Sample project demonstrating a Spring Application Context defined in Groovy DSL

License

Notifications You must be signed in to change notification settings

bonjoursoftware/groovy-dsl-spring-context-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Groovy DSL Spring Context Sample

This sample project demonstrates how to leverage Spring's GroovyBeanDefinitionReader to define the Spring application context with Groovy DSL. This is an alternative to the XML and annotations based application context definitions.

See the applicationContext.groovy resource:

beans {
    sugarCube(SugarCube)
    coffeeMachine(CoffeeMachine)
    sweetCoffee(coffeeMachine: 'brew', sugarCube)
    bitterCoffee(coffeeMachine: 'brew')
}

About

Sample project demonstrating a Spring Application Context defined in Groovy DSL

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages