Skip to content

Guice Dependency Injection

Joe Betz edited this page Sep 11, 2013 · 5 revisions

Guice dependency injection may be used with rest.li by using the restli-guice-bridge module.

An example project using guice dependency injection is available in the rest.li codebase:

https://github.com/linkedin/rest.li/tree/master/examples/guice-server

This example shows how Rest.li's GuiceRestliServlet may be used to run rest.li servers with full guice dependency injection.

Clone this wiki locally