Guice doesn't do that out-of-the-box, but I wrote a micro-framework on top 
of it that does (and there are others):

https://github.com/timboudreau/giulius

-Tim

On Monday, August 1, 2016 at 6:02:51 PM UTC-4, vishesh kamdar wrote:
>
> Like we do the following in Spring
>
> @Value("${varName:0}")int varName;
>
> Is there a way to do this using Google Guice?
>

-- 
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 google-guice+unsubscr...@googlegroups.com.
To post to this group, send email to google-guice@googlegroups.com.
Visit this group at https://groups.google.com/group/google-guice.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-guice/bd5b5b78-b399-490e-b507-b8c45103068a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to