u can use the @Name bind the X Y in a property file

    @Inject @Named("x")
    String x;

    @Inject @Named("y")
    String y;

2009/4/16 Дмитрий Николаев <[email protected]>

>
> Hi!
> Are there some way to pass parameter for guice module ?
> I have servlet, that receive some X and Y values. Servlet uses
> Injector to instantiate Guice module.
> First that came to mind is using static fields
> >
>


-- 
My site:http://www.jdkcn.com

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