Class MeasurementFetchStrategyFactory


  • public class MeasurementFetchStrategyFactory
    extends java.lang.Object
    Used to instantiate the appropriate fetch strategy. The appropriate strategy is determined by querying all of the available MeasurementFetchStrategyProvider registered via the ServiceLoader.
    Author:
    Jesse White
    • Constructor Detail

      • MeasurementFetchStrategyFactory

        public MeasurementFetchStrategyFactory()
    • Method Detail

      • getStrategy

        @Bean(name="measurementFetchStrategy")
        public MeasurementFetchStrategy getStrategy()
                                             throws java.lang.InstantiationException,
                                                    java.lang.IllegalAccessException
        Throws:
        java.lang.InstantiationException
        java.lang.IllegalAccessException