Comment by ashwin.jayaprakash:
How do you use this (below) on the @Inject side? What do you annotate as
`@Named("PayPal API key")`?
{{{
@Provides @PayPal
CreditCardProcessor providePayPalCreditCardProcessor(
@Named("PayPal API key") String apiKey) {
...
}}}
For more information:
http://code.google.com/p/google-guice/wiki/ProvidesMethods
--
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.