On Wed, Apr 10, 2013 at 8:09 PM, Newbie McBozo <[email protected]> wrote:

> I get that, and forgive me for being dense, but I don't get how to make it
> so that my class is created by Guice so that my injections will work.
>
> I see that the application provides a module that's called on startup.
> Within that module I see a series of functions that call binder.bind and in
> all of those classes I see that injection works.
>
> Looking at that, I would think that I could binder.bind my own class but
> that doesn't seem to work.  I could have syntax issues, but my sense is
> that there's a fundamental thing that I'm missing.
>
>

Are you using the injector to create the instance of your object?  Do you
have a code sample?

-- 
David
blog: http://www.traceback.org
twitter: http://twitter.com/dstanek
www: http://dstanek.com

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to