Class MeasurementFetchStrategyFactory
- java.lang.Object
-
- org.opennms.netmgt.measurements.api.MeasurementFetchStrategyFactory
-
public class MeasurementFetchStrategyFactory extends Object
Used to instantiate the appropriate fetch strategy. The appropriate strategy is determined by querying all of the availableMeasurementFetchStrategyProvider
registered via the ServiceLoader.- Author:
- Jesse White
-
-
Constructor Summary
Constructors Constructor Description MeasurementFetchStrategyFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MeasurementFetchStrategy
getStrategy()
-
-
-
Method Detail
-
getStrategy
@Bean(name="measurementFetchStrategy") public MeasurementFetchStrategy getStrategy() throws InstantiationException, IllegalAccessException
-
-