We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
For example now, I have in Application class methods as:
Application
setTemplateEngine
setRouter
My idea is to add as dependency the tiny inject-api library in pom.xml (probably with scope provided):
inject-api
pom.xml
provided
<!-- https://mvnrepository.com/artifact/javax.inject/javax.inject --> <dependency> <groupId>javax.inject</groupId> <artifactId>javax.inject</artifactId> <version>1</version> </dependency>
and add @Inject annotation on all setter methods that are possible extensions points in Pippo.
@Inject
In this mode we can configure completely Pippo using a DI container as Spring Framework or Guice.
Spring Framework
Guice
The text was updated successfully, but these errors were encountered:
decebals
No branches or pull requests
For example now, I have in
Application
class methods as:setTemplateEngine
setRouter
My idea is to add as dependency the tiny
inject-api
library inpom.xml
(probably with scopeprovided
):and add
@Inject
annotation on all setter methods that are possible extensions points in Pippo.In this mode we can configure completely Pippo using a DI container as
Spring Framework
orGuice
.The text was updated successfully, but these errors were encountered: