net.sourceforge.groboutils.pmti.v1.autodoc.v1
Class ITFMonitor

java.lang.Object
  extended bynet.sourceforge.groboutils.autodoc.v1.testserver.DefaultMonitor
      extended bynet.sourceforge.groboutils.pmti.v1.autodoc.v1.ITFMonitor
All Implemented Interfaces:
Monitor

public class ITFMonitor
extends DefaultMonitor

This implemenation of Monitor uses a Hashtable to store the test data.

This probably should be rewritten so that DefaultMonitor is a delegate-to inner object, not a super class.

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

Field Summary
static java.lang.Class DEFAULT_FACTORY
           
static java.lang.String FACTORY_PROPERTY_NAME
           
 
Constructor Summary
ITFMonitor()
          Default constructor.
ITFMonitor(Server s, TestDataFactory f)
          Constructor for a Monitor requiring a reference to the Server which will receive the completed TestData structures, and a reference to a factory for creating new TestData instances for the particular framework this Monitor belongs to.
 
Method Summary
static ITFFactory getFactory()
          Retrieves the pseudo-singleton factory of the correct type.
static SingletonStore getFactoryStore()
          Set the factory to whatever is in the system property.
 
Methods inherited from class net.sourceforge.groboutils.autodoc.v1.testserver.DefaultMonitor
addTestData, assertNotNull, assertNotNull, createTestData, getTestData, retrieveTestData, sendTestData, sendTestDataToServer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FACTORY_PROPERTY_NAME

public static final java.lang.String FACTORY_PROPERTY_NAME

DEFAULT_FACTORY

public static final java.lang.Class DEFAULT_FACTORY
Constructor Detail

ITFMonitor

public ITFMonitor()
Default constructor.


ITFMonitor

public ITFMonitor(Server s,
                  TestDataFactory f)
Constructor for a Monitor requiring a reference to the Server which will receive the completed TestData structures, and a reference to a factory for creating new TestData instances for the particular framework this Monitor belongs to.

Parameters:
s - the server to receive completed TestData entities. This cannot be null.
f - the factory in charge of creating new TestData entities. This cannot be null.
Throws:
java.lang.IllegalArgumentException - if s or f is null.
Method Detail

getFactory

public static ITFFactory getFactory()
Retrieves the pseudo-singleton factory of the correct type.


getFactoryStore

public static SingletonStore getFactoryStore()
Set the factory to whatever is in the system property.



Copyright © 2001-2003 by The GroboUtils Project