Kieker 1.2

kieker.common.record
Class MonitoringRecordTypeRegistry

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

public class MonitoringRecordTypeRegistry
extends Object

Author:
Andre van Hoorn

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
 

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:
LogReaderExecutionException
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.2

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