public class BindLoggersAnnotatedWithResource extends Object implements com.google.inject.spi.TypeListener
Logger to members annotated with
 Resource
 
 This class is a TypeListener so that it can create a logger whose category is
 the same as the name of the injected instance's class.
 
 Note that this occurs post-object construction through
 Binder.bindListener(com.google.inject.matcher.Matcher<? super com.google.inject.TypeLiteral<?>>, com.google.inject.spi.TypeListener).
 
 Here's an example usage:
 
     class A {| Constructor and Description | 
|---|
BindLoggersAnnotatedWithResource(Logger.LoggerFactory loggerFactory)  | 
| Modifier and Type | Method and Description | 
|---|---|
<I> void | 
hear(com.google.inject.TypeLiteral<I> injectableType,
    com.google.inject.spi.TypeEncounter<I> encounter)  | 
@Inject public BindLoggersAnnotatedWithResource(Logger.LoggerFactory loggerFactory)
Copyright © 2009-2013 jclouds. All Rights Reserved.