org::slf4j::impl::StaticLoggerBinder Class Reference

Inheritance diagram for org::slf4j::impl::StaticLoggerBinder:
Inheritance graph
[legend]
Collaboration diagram for org::slf4j::impl::StaticLoggerBinder:
Collaboration graph
[legend]

List of all members.

Public Member Functions

ILoggerFactory getLoggerFactory ()
String getLoggerFactoryClassStr ()

Static Public Member Functions

static final StaticLoggerBinder getSingleton ()

Static Public Attributes

static String REQUESTED_API_VERSION = "1.5.8"

Private Member Functions

 StaticLoggerBinder ()

Private Attributes

final ILoggerFactory loggerFactory

Static Private Attributes

static final StaticLoggerBinder SINGLETON = new StaticLoggerBinder()
static final String loggerFactoryClassStr = org.slf4j.impl.ACSLoggerFactory.class.getName()

Detailed Description

The binding of LoggerFactory class with an actual instance of ILoggerFactory is performed using information returned by this class.

The code is copied into ACS from the slf4j 1.5.8 sources, and modified to return ACSLoggerFactory instead of slf4j's JDK Logger factory. The design of slf4j requires this StaticLoggerBinder class to be implemented in package org.slf4j.impl so that slf4j will simply load it, without looking at any properties or doing class loader tricks. See http://www.slf4j.org/manual.html.

Author:
Ceki Gülcü

Constructor & Destructor Documentation

org::slf4j::impl::StaticLoggerBinder::StaticLoggerBinder (  )  [inline, private]

References loggerFactory.


Member Function Documentation

ILoggerFactory org::slf4j::impl::StaticLoggerBinder::getLoggerFactory (  )  [inline]

References loggerFactory.

String org::slf4j::impl::StaticLoggerBinder::getLoggerFactoryClassStr (  )  [inline]

References loggerFactoryClassStr.

static final StaticLoggerBinder org::slf4j::impl::StaticLoggerBinder::getSingleton (  )  [inline, static]

Return the singleton of this class.

Returns:
the StaticLoggerBinder singleton

References SINGLETON.


Member Data Documentation

The ILoggerFactory instance returned by the getLoggerFactory method should always be the same object

Referenced by getLoggerFactory(), and StaticLoggerBinder().

final String org::slf4j::impl::StaticLoggerBinder::loggerFactoryClassStr = org.slf4j.impl.ACSLoggerFactory.class.getName() [static, private]

Declare the version of the SLF4J API this implementation is compiled against. The value of this field is usually modified with each release.

The unique instance of this class.

Referenced by getSingleton().


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2