OOoRunner test harness

stats
Class OutProducerFactory

java.lang.Object
  |
  +--stats.OutProducerFactory

public class OutProducerFactory
extends Object

A factory class for creating out producers.


Constructor Summary
OutProducerFactory()
           
 
Method Summary
static LogWriter createDataBaseOutProducer(Hashtable param)
          Create a databbase out producer.
static LogWriter createOutProducer(Hashtable param)
          Create an out producer.
static LogWriter createSimpleOutProducer()
          As a fallback, create a simple out producer, if all else failed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OutProducerFactory

public OutProducerFactory()
Method Detail

createOutProducer

public static LogWriter createOutProducer(Hashtable param)
Create an out producer. The type that is created depends on the parameters given. These are:
Parameters:
Parameters - of the test.
Returns:
The created out producer.

createDataBaseOutProducer

public static LogWriter createDataBaseOutProducer(Hashtable param)
Create a databbase out producer.
Parameters:
The - test parameters
Returns:
The database out producer, or null if it couldn't be created.

createSimpleOutProducer

public static LogWriter createSimpleOutProducer()
As a fallback, create a simple out producer, if all else failed.
Returns:
A simple out producer, writing to the screen.

OOoRunner test harness