On 23 Jul 2013, at 22:13, Eric Tschetter wrote:

> Hello everyone.
> 
> I'm looking for a way to disable JIT bindings in Guice.  Google found
> 
> http://code.google.com/p/google-guice/issues/detail?id=342
> 
> For me, but it looks like r1141 referenced in there is a broken link now 
> (probably switched source control systems and the links aren't updated? I'm 
> not sure how to search for the old commit...).  I also don't know that an 
> InjectorBuilder is (can't find the class in the current code, so am guessing 
> it's something that existed in 2009 and doesn't anymore).
> 
> I'm guessing this functionality was maintained, but am wondering how to 
> enable it.  Basically I want to disable any injection that is not either (a) 
> bound in a module or (b) of an object with an @Inject binding.

The equivalent git hash is 
http://code.google.com/p/google-guice/source/detail?r=888a264bdee08c82cccd9dcc94a8a4ac98912bad

Since then the requireExplicitBindings option was moved to the Binder API:

   
http://google-guice.googlecode.com/git/javadoc/com/google/inject/Binder.html#requireExplicitBindings()

> --Eric

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