net.sourceforge.groboutils.codecoverage.v2.logger
Class NoOpChannelLoggerFactory

java.lang.Object
  extended bynet.sourceforge.groboutils.codecoverage.v2.logger.NoOpChannelLoggerFactory
All Implemented Interfaces:
IChannelLoggerFactory

public class NoOpChannelLoggerFactory
extends java.lang.Object
implements IChannelLoggerFactory

The singleton invoked at runtime to log each marked bytecode instruction covered.

This class needs to be fast, efficient, thread-safe, and classloader-safe. "Classloader-safe" means that it needs to be resiliant to multiple instances of this class being loaded, and possibly interfering with each other.

Since:
December 17, 2002
Version:
$Date: 2003/02/10 22:51:28 $
Author:
Matt Albrecht groboclown@users.sourceforge.net

Constructor Summary
NoOpChannelLoggerFactory()
           
 
Method Summary
 IChannelLogger createChannelLogger(java.lang.String propertyPrefix, java.util.Properties props, short channelIndex)
          Creates a specific logger type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoOpChannelLoggerFactory

public NoOpChannelLoggerFactory()
Method Detail

createChannelLogger

public IChannelLogger createChannelLogger(java.lang.String propertyPrefix,
                                          java.util.Properties props,
                                          short channelIndex)
Creates a specific logger type. Initializes the logger based on the given collection of properties.

Specified by:
createChannelLogger in interface IChannelLoggerFactory
Parameters:
propertyPrefix - the prefix that all logger properties will begin with. Expect all logger-specific properties to be appended directly to this string.
props - the property collection to pull the logger properties from.
channelIndex - channel number to log to.
Returns:
the initialized logger.


Copyright © 2001-2003 by The GroboUtils Project