Hi,

I have read about the MultiBinder. As such, my application contains code 
like this:

        Multibinder<LifecycleAware> mb = Multibinder.newSetBinder(binder, 
LifecycleAware.class);
        mb.addBinding().to(DbInitializer.class);

However, now I'd like to have omthing like this:

        public List<LifecycleAware> getLifecycleAwares(Injector pInjector) {
        }

In other words, I'd like to query the Injector programmatically for 
implementations of LifecycleAware.

How would I do this?

Thanks,

Jochen



-- 
You received this message because you are subscribed to the Google Groups 
"google-guice" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-guice.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to