Friday, 15 February 2013

Guice injector for library -



Guice injector for library -

i writing new java library , want utilize guice here. library going depend on other guice modules. understand while creating guice application @ point of time guice.createinjector(...). question should create injector in library there many entry points it.

ideally clients of library using jsr-330 , add together modules own injectors. if isn't feasible require clients phone call initialization method of library setup modules, create injector, , homecoming simple mill or provider object (injected guice) providing access necessary entry points of api.

guice

No comments:

Post a Comment