This is my view;

Guice is a just a container. So all you need is to instantiate the container
: Injector injector = Guice.createInjector(...Modules) , Then get your
objects from the injector using injector.getInstance(MyClass.class);.  In
most cases, other frameworks instantiate guice and get the objects without
you having to do that.

Josh.

On Mon, May 2, 2011 at 5:58 PM, mwaschkowski <[email protected]> wrote:

> Hi,
>
> I've searched the forum and checked the faq, but didn't see a mention
> anywhere. I'm assuming that guice will just wire up my objects and
> that application state initialization code should go somewhere else
> (like an 'ApplicationSetup' class) that gets called after guice is
> done wiring up objects? Or is there a feature within guice that I
> should be using to do this?
>
> Thanks!
>
> Mark
>
> --
> 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.
>
>

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

Reply via email to