On Sun, Oct 16, 2011 at 5:08 PM, Noel Yap <[email protected]> wrote:
> This looks really good! Can it work with Providers? I don't know what you mean. It works just like any other scope annotation. > And what about diamond dependencies (ie what happens if both A and B depend > upon C)? As long as the dependency graph is a DAG (no cycles), there's no problem. > Also, in the example given, if B and C aren't annotated, will Guice know > enough to have the annotation passed down (assuming A is being eagerly > initialized)? No. My advice is to read the code for ConcurrentSingletonScope. If you don't understand it, I wouldn't try using the scope. --tim -- You received this message because you are subscribed to the Google Groups "google-guice" 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?hl=en.
