Class RecordFactoryResolver

java.lang.Object
kieker.common.record.factory.RecordFactoryResolver

public class RecordFactoryResolver extends Object
Since:
1.11
Author:
Christian Wulf
  • Constructor Details

    • RecordFactoryResolver

      public RecordFactoryResolver()
      Creates a new record factory resolver which finds available factory providers automatically using the service locator.
    • RecordFactoryResolver

      public RecordFactoryResolver(Iterable<IRecordFactoryProvider> factoryProviders)
      Creates a new record factory resolver with the given factory providers.
      Parameters:
      factoryProviders - The factory providers to use
  • Method Details

    • get

      public IRecordFactory<? extends IMonitoringRecord> get(String recordClassName)
      Obtains a record factory instance fo the given record class name.
      Parameters:
      recordClassName - fully qualified class name of a record
      Returns:
      a new instance of the record factory belonging to the given recordClassName or null if such a record factory could not be found or instantiated