MatteoJoliveau / PlugFace

Next generation Java general purpose plugin framework
https://plugface.matteojoliveau.com
MIT License
42 stars 11 forks source link

Make Inject annotation optional #10

Open MatteoJoliveau opened 6 years ago

MatteoJoliveau commented 6 years ago

Right now the @Inject annotation is mandatory. It can be made optional in case of, for example, a single constructor being present. PlugFace will try to autowire dependencies on that constructor without the need for an annotation to be present, like Spring does.