On Nov 20, 3:24 pm, Michael Burton <[email protected]> wrote:
> I'd like to be able to support this for users of my libraries. Is
> there another mechanism I can plug into in order to work around this
> limitation?
You can setup your own static injection, and have that delegate.
@Inject static void doMyInjections() {
Foo.staticSetup();
Bar.staticSetup();
}
All static injection knows is the set of classes specified by calls to
requestStaticInjection(). You probably don't need this list to do your
own static configuration; the statically Guice-injected classes are
probably unrelated to the classes you want to hear about.
--
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=.