Comment #4 on issue 295 by maaarti...@gmail.com: @ProvidedBy doesn't work
with enums
http://code.google.com/p/google-guice/issues/detail?id=295
I'd propose something like
public enum Env {
@DefaultInstance DEVELOPMENT,
STAGING,
PRODUCTION;
}
but I can see that the Provider-based approach is much more general (and
needs no new annotation). My use case is exactly the same. In a few days we
can celebrate the 5th birthday of this bug.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
You received this message because you are subscribed to the Google Groups
"google-guice-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to google-guice-dev+unsubscr...@googlegroups.com.
To post to this group, send email to google-guice-dev@googlegroups.com.
Visit this group at http://groups.google.com/group/google-guice-dev.
For more options, visit https://groups.google.com/groups/opt_out.