Kieker 1.3

kieker.common.record
Class MonitoringRecordTypeRegistry

java.lang.Object
  extended by kieker.common.record.MonitoringRecordTypeRegistry

public class MonitoringRecordTypeRegistry
extends Object

Author:
Andre van Hoorn

Field Summary
static String OLD_KIEKEREXECUTIONRECORD_CLASSNAME
           
 
Constructor Summary
MonitoringRecordTypeRegistry()
           
MonitoringRecordTypeRegistry(boolean oldKiekerExecutionRecordCompatibilityMode)
           
 
Method Summary
 Class<? extends IMonitoringRecord> fetchClassForRecordTypeId(int recordTypeId)
          Returns the class object for the given record type ID record type recordTypeId, which has been registered before by calling the registerRecordTypeIdMapping method.
 void registerRecordTypeIdMapping(int recordTypeId, String classname)
          Registers a mapping of the given record type recordTypeId to the corresponding classname.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OLD_KIEKEREXECUTIONRECORD_CLASSNAME

public static final String OLD_KIEKEREXECUTIONRECORD_CLASSNAME
See Also:
Constant Field Values
Constructor Detail

MonitoringRecordTypeRegistry

public MonitoringRecordTypeRegistry()

MonitoringRecordTypeRegistry

public MonitoringRecordTypeRegistry(boolean oldKiekerExecutionRecordCompatibilityMode)
Parameters:
oldKiekerExecutionRecordCompatibilityMode -
See Also:
oldKiekerExecutionRecordCompatibilityMode
Method Detail

registerRecordTypeIdMapping

public final void registerRecordTypeIdMapping(int recordTypeId,
                                              String classname)
                                       throws ClassNotFoundException
Registers a mapping of the given record type recordTypeId to the corresponding classname. This method should be used by implementing classes.

Parameters:
recordTypeId -
classname -
Throws:
ClassNotFoundException

fetchClassForRecordTypeId

public final Class<? extends IMonitoringRecord> fetchClassForRecordTypeId(int recordTypeId)
Returns the class object for the given record type ID record type recordTypeId, which has been registered before by calling the registerRecordTypeIdMapping method. This method should be used by implementing classes.

Parameters:
recordTypeId - the record type ID
Returns:
the class object

Kieker 1.3

Copyright 2011 the Kieker Project, http://kieker.sourceforge.net