MyClass instance = new MyClass(); requestInjection(instance); bind(MyClass.class).toInstance(instance);
On Dec 14, 11:34 am, pflanzenmoerder <[email protected]> wrote: > Is it possible to inject instances created outside by a framework > outside of guice. > I know how to do this in spring using AspectJ. > Is there something similar for Guice? > > Thanks -- 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.
