Status: New
Owner: ----

New issue 387 by sberlin: Binding Listeners Patch
http://code.google.com/p/google-guice/issues/detail?id=387

Created a separate issue for binding listeners, as it's not necessarily the
same as issue 38 (where the prior patch is at).

This is a framework (modeled after the type listener framework) for adding
arbitrary binding listeners that are notified when a new binding is
available.  The patch also converts eager singleton listeners to using the
framework.  This solves the following issues:

* JIT eager singleton bindings discovered after Injector creation were not
eagerly created.  (no current issue id for this)
* JIT eager singleton bindings from any child injector were not eagerly
created. (issue 386)
* Allows users to develop their own strategies for eager singletons (using
different singleton scopes, for instance). (issue 38)

An outstanding issue that Alen pointed (in issue 38) is "using a
PrivateModule with expose the exposed binding will get heard 2 times."




Attachments:
        binding-listeners.txt  39.6 KB

--
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to