Skip to end of metadata
Go to start of metadata
You are viewing an old version of this page. View the current version. Compare with Current ·  View Page History

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.

Labels
  • None