org.jclouds.logging.config
Class LoggingModule

java.lang.Object
  extended by com.google.inject.AbstractModule
      extended by org.jclouds.logging.config.LoggingModule
All Implemented Interfaces:
com.google.inject.Module
Direct Known Subclasses:
AntLoggingModule, ConsoleLoggingModule, JDKLoggingModule, Log4JLoggingModule, NullLoggingModule, SLF4JLoggingModule

public abstract class LoggingModule
extends com.google.inject.AbstractModule

Creates a post-injection listener that binds Loggers named the same as the enclosing class.

Author:
Adrian Cole

Constructor Summary
LoggingModule()
           
 
Method Summary
protected  void configure()
           
abstract  Logger.LoggerFactory createLoggerFactory()
           
 
Methods inherited from class com.google.inject.AbstractModule
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoggingModule

public LoggingModule()
Method Detail

configure

protected void configure()
Specified by:
configure in class com.google.inject.AbstractModule

createLoggerFactory

@Provides
@Singleton
public abstract Logger.LoggerFactory createLoggerFactory()


Copyright © 2009-2011 jclouds. All Rights Reserved.