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

alma::acs::logging::adapters::MuteJacORBLoggerFactory Class Reference

List of all members.

Public Member Functions

final String getLoggingBackendName ()
org.apache.avalon.framework.logger.Logger getNamedLogger (String name)
org.apache.avalon.framework.logger.Logger getNamedLogger (String name, String fileName, long maxFileSize) throws IOException
org.apache.avalon.framework.logger.Logger getNamedRootLogger (String name)
void setDefaultLogFile (String fileName, long maxLogSize) throws IOException
void configure (Configuration conf) throws ConfigurationException

Private Attributes

final NullLogger delegate = new NullLogger()

Static Private Attributes

final String BACKEND_NAME = "null logger"

Detailed Description

A hack for COMP-1996 workaround.

remove this once COMP-1996 is resolved!

Author:
hsommer


Member Function Documentation

void alma::acs::logging::adapters::MuteJacORBLoggerFactory::configure Configuration  conf  )  throws ConfigurationException [inline]
 

See also:
org.apache.avalon.framework.configuration.Configurable#configure(org.apache.avalon.framework.configuration.Configuration)

final String alma::acs::logging::adapters::MuteJacORBLoggerFactory::getLoggingBackendName  )  [inline]
 

org.apache.avalon.framework.logger.Logger alma::acs::logging::adapters::MuteJacORBLoggerFactory::getNamedLogger String  name,
String  fileName,
long  maxFileSize
throws IOException [inline]
 

Same as getNamedLogger(String). The file is ignored, and a respective warning message gets logged.

See also:
org.jacorb.config.LoggerFactory#getNamedLogger(java.lang.String, java.lang.String, long)

org.apache.avalon.framework.logger.Logger alma::acs::logging::adapters::MuteJacORBLoggerFactory::getNamedLogger String  name  )  [inline]
 

org.apache.avalon.framework.logger.Logger alma::acs::logging::adapters::MuteJacORBLoggerFactory::getNamedRootLogger String  name  )  [inline]
 

Returns getNamedLogger(String). The distinction between root loggers and other loggers we don't need here, since the questions of console vs. file vs. remote logging are left to ACS.

See also:
org.jacorb.config.LoggerFactory#getNamedRootLogger(java.lang.String)

void alma::acs::logging::adapters::MuteJacORBLoggerFactory::setDefaultLogFile String  fileName,
long  maxLogSize
throws IOException [inline]
 

We ignore the log file, since ACS loggers forward to the central Log service.

See also:
org.jacorb.config.LoggerFactory#setDefaultLogFile(java.lang.String, long)


Member Data Documentation

final String alma::acs::logging::adapters::MuteJacORBLoggerFactory::BACKEND_NAME = "null logger" [static, private]
 

final NullLogger alma::acs::logging::adapters::MuteJacORBLoggerFactory::delegate = new NullLogger() [private]
 


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