Apache Log4cxx: log4cxx::spi::RepositorySelector Class Reference (original) (raw)

The [LogManager](classlog4cxx%5F1%5F1LogManager.html "Use the LogManager class to retreive Logger instances or to operate on the current LoggerRepository.") uses one (and only one) [RepositorySelector](classlog4cxx%5F1%5F1spi%5F1%5F1RepositorySelector.html "The LogManager uses one (and only one) RepositorySelector implementation to select the LoggerReposito...") implementation to select the [LoggerRepository](classlog4cxx%5F1%5F1spi%5F1%5F1LoggerRepository.html) for a particular application context. More...

#include <[repositoryselector.h](repositoryselector%5F8h%5Fsource.html)>

Public Member Functions
virtual ~RepositorySelector ()
virtual LoggerRepositoryPtr getLoggerRepository ()=0
- Public Member Functions inherited from log4cxx::helpers::Object
virtual ~Object ()
virtual const helpers::Class & getClass () const =0
virtual bool instanceof (const Class &clazz) const =0
virtual const void * cast (const Class &clazz) const =0

The [LogManager](classlog4cxx%5F1%5F1LogManager.html "Use the LogManager class to retreive Logger instances or to operate on the current LoggerRepository.") uses one (and only one) [RepositorySelector](classlog4cxx%5F1%5F1spi%5F1%5F1RepositorySelector.html "The LogManager uses one (and only one) RepositorySelector implementation to select the LoggerReposito...") implementation to select the [LoggerRepository](classlog4cxx%5F1%5F1spi%5F1%5F1LoggerRepository.html) for a particular application context.

It is the responsability of the [RepositorySelector](classlog4cxx%5F1%5F1spi%5F1%5F1RepositorySelector.html "The LogManager uses one (and only one) RepositorySelector implementation to select the LoggerReposito...") implementation to track the application context. log4cxx makes no assumptions about the application context or on its management.

See also LogManager.

virtual log4cxx::spi::RepositorySelector::~RepositorySelector ( ) inlinevirtual

getLoggerRepository()

virtual LoggerRepositoryPtr log4cxx::spi::RepositorySelector::getLoggerRepository ( ) pure virtual

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