|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.groboutils.autodoc.v1.testserver.DefaultMonitor
net.sourceforge.groboutils.pmti.v1.autodoc.v1.ITFMonitor
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.
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 |
public static final java.lang.String FACTORY_PROPERTY_NAME
public static final java.lang.Class DEFAULT_FACTORY
Constructor Detail |
public ITFMonitor()
public ITFMonitor(Server s, TestDataFactory f)
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.
java.lang.IllegalArgumentException
- if s or f is
null.Method Detail |
public static ITFFactory getFactory()
public static SingletonStore getFactoryStore()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |