Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Adding @Inject is hard now?

Most DI frameworks automatically configure, and register objects. So literally all you need to add is the annotation.

Then you can override the automatic registration with you own, with different implementation when required.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: