Another idea where you can use it would be injection of loggers :)

@interface Logger {
  Class<?> value();
}

class Foo {
  @Logger(Foo.class)
  private Logger logger;
}

This are values you know at compile time but could be injected by
using identity providers.

-- 
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.

Reply via email to