My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
GuiceDiscussions  
Links to Guice discussions
Updated Oct 16, 2011 by sberlin
Comment by mboulat...@gmail.com, May 11, 2009

Is it possible to provide xml configuration file as an alternative to AbstractModule?'s configure method (just like in jboss seam that is partly based on Guice)?

Comment by robbie.v...@gmail.com, May 11, 2009

If you want to use XML, have a look at Bob's example in the trunk: http://code.google.com/p/google-guice/source/browse/#svn/trunk/examples/src/example/xml

Comment by Oum.La...@gmail.com, Jul 6, 2010

How do I inject a Implementation, if this Implementation needs a Parameter in the constructor? somthing like

class FooImpl extends Bar implements IFoo{

public FooImpl(Parameter parameter){
super(parameter);
}
...
}

thanks in advance

Larry

Comment by project member sberlin, Jul 6, 2010

If the parameter can be specified at compile-time (or injection time), just bind the parameter as normal (perhaps using a BindingAnnotation?). If the parameter is determined at runtime, see AssistedInject.

Comment by michael....@gmail.com, Jul 12, 2010

What is the correct way to handle injectors if you can not bootstrap the entire application at once. Is it considered poor practice to keep the injector global?

Comment by c...@cefn.com, Dec 8, 2010

My query about Guice never gets moderated into the Google Guice group queue for some reason, or any reply from the moderators. Tried over a period of more than a week. Here it is.

http://pastebin.com/raw.php?i=eSJjWseF

Comment by Luis.Mig...@gmail.com, Dec 10, 2010

Is the AOP Support possible in Android 2.3? Anyone has got any idea of how compelx it could be for bytecode generation to be enabled in future Android versions? Thanks in advance.

Comment by benz....@gmail.com, Mar 10, 2011

Guice forum just started, check it out:

http://www.guiceforum.com

Comment by sven...@gmail.com, Aug 24, 2011

Is it possible to inject in a HttpSessionListener??

Comment by bklau2...@gmail.com, Mar 22, 2012

I see that guice-3.0.zip conatisn quite a few jars but I just want to do basic DI plus method interception AOP. So what is minimal set of jars that I need to use?. I don't want to use all jars that I don't need.


Sign in to add a comment
Powered by Google Project Hosting