I have a super basic problem:
public class StringBinding {
private String name;
@Inject
public StringBinding(String name){
this.name = name;
}
public void hi(){
System.out.println(this.name);
}
}
How can I let hi() print the name I specified with Guice?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---