Comment by dougande...@gmail.com:

If you inject into a method, such as:

{{{
@Inject
  public void setApiKey(@Named("PayPal API key") String apiKey) {
    this.apiKey = apiKey;
  }
}}}

Then what do you do when you call the method? Do you simply call

{{{object.setApiKey()}}}

without any parameter arguments?

For more information:
http://code.google.com/p/google-guice/wiki/Injections

--
You received this message because you are subscribed to the Google Groups 
"google-guice-dev" group.
To post to this group, send email to google-guice-dev@googlegroups.com.
To unsubscribe from this group, send email to 
google-guice-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-guice-dev?hl=en.

Reply via email to