com.googlecode.sli4j.slf4j.log4j
Class Slf4jLog4jLoggingModule

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.log4j.Slf4jLog4jLoggingModule
All Implemented Interfaces:
com.google.inject.Module, com.google.inject.spi.TypeListener

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

SLF4J - Apache Log4j logger module implementation.

Version:
$Id: Slf4jLog4jLoggingModule.java 249 2010-06-05 14:31:21Z simone.tripodi $
Author:
Simone Tripodi

Constructor Summary
Slf4jLog4jLoggingModule(com.google.inject.matcher.Matcher<? super com.google.inject.TypeLiteral<?>> matcher)
          Creates a new SLF4J - Apache Log4j 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

Slf4jLog4jLoggingModule

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

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


Copyright © 2010. All Rights Reserved.