restlet-framework-java
restlet-framework-java copied to clipboard
Missing support for a Dagger2 extension
The framework includes an extension for Guice for dependency injection, however, it lacks an extension for Dagger2.
Reflection-based dependency injection (DI) can impede the creation of a high-performance, native-image packaged module, such as an embedded Restlet server compiled using GraalVM.
You can find a proof of concept (POC) for using Dagger2 with Restlet by following this link: https://github.com/kerbymart/restlet-appstart/blob/909a5c5b8dd7ed8e3272e1ee2776beefab98f092/src/main/java/org/example/Main.java#L59
thanks a lot @kerbymart !! we'll consider it for the incoming 2.5 version!