AssistedInject · google/guice Wiki · GitHub
Factories are a well established pattern for creating value objects, model/domain objects (entities), or objects that combine parameterization and dependencies. Factories can be brittle and contain a lot of boilerplate. Guice can eliminate a lot of that boilerplate by auto-generating Factory implementations from simple interfaces. This process is (possibly misleadingly) known as assisted injection.
Read full article from AssistedInject · google/guice Wiki · GitHub
No comments:
Post a Comment