org::xmlBlaster::util::I_LogFactory Class Reference

Inheritance diagram for org::xmlBlaster::util::I_LogFactory:

Inheritance graph
[legend]
List of all members.

Public Types

typedef std::map< std::string,
std::string, std::less< std::string > > 
PropMap

Public Member Functions

virtual ~I_LogFactory ()
virtual void initialize (const PropMap &propMap)
 Will be called on registration of your factory.
virtual I_LoggetLog (const std::string &name="")=0
 Construct (if necessary) and return a Log instance, using the factory's current implementation.
virtual void releaseLog (const std::string &name="")=0
 Free resources for the given logger.

Protected Attributes

PropMap propMap_

Detailed Description

Definition at line 24 of file I_LogFactory.h.


Member Typedef Documentation

typedef std::map<std::string, std::string, std::less<std::string> > org::xmlBlaster::util::I_LogFactory::PropMap

Definition at line 27 of file I_LogFactory.h.


Constructor & Destructor Documentation

virtual org::xmlBlaster::util::I_LogFactory::~I_LogFactory (  )  [virtual]

Definition at line 35 of file I_LogFactory.h.


Member Function Documentation

virtual void org::xmlBlaster::util::I_LogFactory::initialize ( const PropMap propMap  )  [virtual]

Will be called on registration of your factory.

Parameters:
properties A map containing key/values of properties (command line args etc), we keep a clone of it.

Definition at line 42 of file I_LogFactory.h.

virtual I_Log& org::xmlBlaster::util::I_LogFactory::getLog ( const std::string &  name = ""  )  [pure virtual]

Construct (if necessary) and return a Log instance, using the factory's current implementation.

Parameters:
name Logical name of the Log instance to be returned (the meaning of this name is only known to the underlying logging implementation that is being wrapped)

Implemented in org::xmlBlaster::util::DefaultLogFactory.

virtual void org::xmlBlaster::util::I_LogFactory::releaseLog ( const std::string &  name = ""  )  [pure virtual]

Free resources for the given logger.

Parameters:
name 

Implemented in org::xmlBlaster::util::DefaultLogFactory.


Member Data Documentation

PropMap org::xmlBlaster::util::I_LogFactory::propMap_ [protected]

Definition at line 30 of file I_LogFactory.h.


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