接口的使用
cn.taketoday.lang.TodayStrategies.Instantiator
-
cn.taketoday.lang中TodayStrategies.Instantiator的使用
修饰符和类型方法说明static <T> List<T>TodayStrategies.find(Class<T> strategyType, TodayStrategies.Instantiator instantiator) Load and instantiate the strategy implementations of the given type from "META-INF/today-strategies.properties", using the given class loader.static <T> List<T>TodayStrategies.find(Class<T> strategyType, ClassLoader classLoader, TodayStrategies.Instantiator instantiator) Load and instantiate the strategy implementations of the given type from "META-INF/today-strategies.properties", using the given class loader.protected <T> TTodayStrategies.instantiateStrategy(String implementationName, Class<T> type, TodayStrategies.Instantiator instantiator, TodayStrategies.FailureHandler failureHandler) <T> List<T>TodayStrategies.load(Class<T> strategyType, TodayStrategies.Instantiator instantiator) Load and instantiate the strategy implementations of the given type from "META-INF/today-strategies.properties", using the configured class loader and the given argument resolver.<T> List<T>TodayStrategies.load(Class<T> strategyType, TodayStrategies.Instantiator instantiator, TodayStrategies.FailureHandler failureHandler) Load and instantiate the strategy implementations of the given type from "META-INF/today-strategies.properties", using the configured class loader, the given argument resolver, and custom failure handling provided by the given failure handler.