net.sourceforge.cobertura.coverage
Class CoverageDataFactory
java.lang.Object
net.sourceforge.cobertura.coverage.InstrumentationPersistence
net.sourceforge.cobertura.coverage.CoverageDataFactory
- All Implemented Interfaces:
- HasBeenInstrumented, java.lang.Runnable
- public class CoverageDataFactory
- extends InstrumentationPersistence
- implements java.lang.Runnable, HasBeenInstrumented
This class implements HasBeenInstrumented so that when cobertura
instruments itself, it will omit this class. It does this to
avoid an infinite recursion problem because instrumented classes
make use of this class.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
private static final org.apache.log4j.Logger logger
instrumentationFactory
static final CoverageDataFactory instrumentationFactory
timer
java.util.Timer timer
CoverageDataFactory
private CoverageDataFactory()
getInstrumentationInterval
int getInstrumentationInterval()
run
public void run()
- Specified by:
run
in interface java.lang.Runnable
getInstance
public static CoverageDataFactory getInstance()
newInstrumentation
public CoverageData newInstrumentation(java.lang.String className)