com.googlecode.sli4j.slf4j
Class Slf4jLoggingModule

java.lang.Object
  extended by com.google.inject.TypeLiteral<L>
      extended by com.googlecode.sli4j.core.AbstractLoggingModule<org.slf4j.Logger>
          extended by com.googlecode.sli4j.slf4j.Slf4jLoggingModule
All Implemented Interfaces:
com.google.inject.Module, com.google.inject.spi.TypeListener

public final class Slf4jLoggingModule
extends AbstractLoggingModule<org.slf4j.Logger>

SLF4J logger module implementation.

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

Constructor Summary
Slf4jLoggingModule(com.google.inject.matcher.Matcher<? super com.google.inject.TypeLiteral<?>> matcher)
          Creates a new SLF4J injection module.
 
Method Summary
 
Methods inherited from class com.googlecode.sli4j.core.AbstractLoggingModule
configure, hear
 
Methods inherited from class com.google.inject.TypeLiteral
equals, get, get, getExceptionTypes, getFieldType, getParameterTypes, getRawType, getReturnType, getSupertype, getType, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Slf4jLoggingModule

public Slf4jLoggingModule(com.google.inject.matcher.Matcher<? super com.google.inject.TypeLiteral<?>> matcher)
Creates a new SLF4J injection module.

Parameters:
matcher - types matcher for whom the Logger injection has to be performed.


Copyright © 2010. All Rights Reserved.