Issue 45: Support chaining injectors / parent injectors
http://code.google.com/p/google-guice/issues/detail?id=45
Comment #17 by limpbizkit:
I've rewritten parent injectors from scratch. From the Injector.java API:
/**
* Returns a new injector that inherits all state from this injector. All
* bindings, scopes, interceptors and type converters are inherited --
they
* are visible to the child injector. Elements of the child injector are
not
* visible to its parent.
*
* <p>Just-in-time bindings created for child injectors will be created
in an
* ancestor injector whenever possible. This allows for scoped instances
to be
* shared between injectors. Use explicit bindings to prevent bindings
from
* being shared with the parent injector.
*
* <p>No key may be bound by both an injector and one of its ancestors.
This
* includes just-in-time bindings. The lone exception is the key for
[EMAIL PROTECTED]
* Injector.class}, which is bound by each injector to itself.
*/
Injector createChildInjector(Iterable<? extends Module> modules);
http://code.google.com/p/google-guice/source/detail?r=629
Issue attribute updates:
Status: Started
Owner: limpbizkit
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"google-guice-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/google-guice-dev?hl=en
-~----------~----~----~----~------~----~------~--~---