资 源 简 介
Welcome
Guice-autoreg is intended for plugin-type architectures, where you"ve got several modules.
The project has 2 features.
Automatically register Guice Modules.
The GuiceAutoregFilter takes care of automagically register all modules. To register all modules, it searches for Modules that are annotated with @Module present. Modules without the annotation can also be picked up by the filter as long as you define them in the web.xml.
Inject all dependencies.
The StaticInjector takes care of injecting all dependencies for an object. When the GuiceAutoregFilter detects all modules it registers them at the StaticInjector. When an object is constructed that has the @InjectDependencies annotation present, it will inject all dependencies.
Links
GettingStarted - A quick intro to the API.