com.googlecode.sli4j.slf4j
Class Slf4jLoggerInjector

java.lang.Object
  extended by com.googlecode.sli4j.core.AbstractLoggerInjector<org.slf4j.Logger>
      extended by com.googlecode.sli4j.slf4j.Slf4jLoggerInjector
All Implemented Interfaces:
com.google.inject.MembersInjector<org.slf4j.Logger>

public final class Slf4jLoggerInjector
extends AbstractLoggerInjector<org.slf4j.Logger>

SLF4J logger injector implementation.

Version:
$Id: Slf4jLoggerInjector.java 243 2010-06-05 14:20:53Z simone.tripodi $
Author:
Simone Tripodi

Constructor Summary
Slf4jLoggerInjector(Field field)
          Creates a new SLF4J Logger injector.
 
Method Summary
protected  org.slf4j.Logger createLogger(Class<?> klass)
          
 
Methods inherited from class com.googlecode.sli4j.core.AbstractLoggerInjector
injectMembers
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Slf4jLoggerInjector

public Slf4jLoggerInjector(Field field)
Creates a new SLF4J Logger injector.

Parameters:
field - the logger field has to be injected.
Method Detail

createLogger

protected org.slf4j.Logger createLogger(Class<?> klass)

Specified by:
createLogger in class AbstractLoggerInjector<org.slf4j.Logger>


Copyright © 2010. All Rights Reserved.