Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

abeans::pluggable::acs::logging::LoggingHandlerFactory Class Reference

Collaboration diagram for abeans::pluggable::acs::logging::LoggingHandlerFactory:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LoggingHandlerFactory ()
Handler getHandlerForPolicy (LoggingHandlerPolicy policy)

Package Attributes

LoggingHandler handler

Detailed Description

Implementation of HandlerFactory.

HandlerFactory is used by AbeansLogger implementators to install from user provided handlers, which are appropriate for used LoggingHandlerPolicy. With this factory a policy is decoupled from particular handler implementation. Logger can construct a handler with lazy-initialization pattern (handler is created when it is needed), what is useful when handler needs to perform costly initialization (eg. remote handler).

Author:
Matej Sekoranja (matej.sekoranja@cosylab.com)
Version:
@VERSION@


Constructor & Destructor Documentation

abeans::pluggable::acs::logging::LoggingHandlerFactory::LoggingHandlerFactory  )  [inline]
 

Constructor for LoggingHandlerFactory.


Member Function Documentation

Handler abeans::pluggable::acs::logging::LoggingHandlerFactory::getHandlerForPolicy LoggingHandlerPolicy  policy  )  [inline]
 

See also:
abeans.core.defaults.HandlerFactory#getHandlerForPolicy(LoggingHandlerPolicy)


Member Data Documentation

LoggingHandler abeans::pluggable::acs::logging::LoggingHandlerFactory::handler [package]
 

The only logging handler to be managed.


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 02:43:26 2009 for ACS Java API by doxygen 1.3.8