This project contains some simple examples of creating a Spring Application Context using the Groovy Bean Builder from Java, exposed via the GenericGroovyApplicationContext introduced to the Spring framework in version 4.0.
Running the examples
This may be run in gradle:
Or from Intellij or Eclipse, e.g. run one of these gradle tasks before importing the project.
Note: When running from Intellij, I have found it necessary to exclude groovy from the resource path:
;!?*.groovy to Resource patterns