Package kieker.common.record.factory
Class RecordFactoryResolver
java.lang.Object
kieker.common.record.factory.RecordFactoryResolver
- Since:
- 1.11
- Author:
- Christian Wulf
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new record factory resolver which finds available factory providers automatically using the service locator.RecordFactoryResolver(Iterable<IRecordFactoryProvider> factoryProviders) Creates a new record factory resolver with the given factory providers. -
Method Summary
Modifier and TypeMethodDescriptionIRecordFactory<? extends IMonitoringRecord>Obtains a record factory instance fo the given record class name.
-
Constructor Details
-
RecordFactoryResolver
public RecordFactoryResolver()Creates a new record factory resolver which finds available factory providers automatically using the service locator. -
RecordFactoryResolver
Creates a new record factory resolver with the given factory providers.- Parameters:
factoryProviders- The factory providers to use
-
-
Method Details
-
get
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
recordClassNameornullif such a record factory could not be found or instantiated
-