Comment by [email protected]:
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 [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-dev?hl=en.