SpringIntegrationExamples Add comment to Wiki View in Wiki Edit Wiki page Printable Version

Example the spring integration

Integrating with Spring using Groovy-Restlet is straightforward.

Using ofBean attribute

The bean userResource is defined spring definition file as followed:

Using ofClass attribute

If spring context is specified when creating GroovyRestlet instance, Spring'` AutowireCapableBeanFactory will be used to create that instance and autowire all necessary properties.



Results of your search request can come from various sources: the Groovy website itself, the JIRA issues, the API documentation, as well as a few other interesting Groovy-related blogs.

  By  -  pages  -  views  - last modified