Package io.microsphere.spring.util
Class SpringFactoriesLoaderUtils
- java.lang.Object
-
- io.microsphere.spring.util.SpringFactoriesLoaderUtils
-
public abstract class SpringFactoriesLoaderUtils extends java.lang.Object
The utilities class forSpringFactoriesLoader
- Since:
- 1.0.0
- Author:
- Mercy
- See Also:
SpringFactoriesLoader
-
-
Constructor Summary
Constructors Constructor Description SpringFactoriesLoaderUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> java.util.List<T>
loadFactories(org.springframework.beans.factory.BeanFactory beanFactory, java.lang.Class<T> factoryType)
static <T> java.util.List<T>
loadFactories(org.springframework.context.ApplicationContext context, java.lang.Class<T> factoryType)
static <T> java.util.List<T>
loadFactories(org.springframework.context.ConfigurableApplicationContext context, java.lang.Class<T> factoryType)
static <T> java.util.List<T>
loadFactories(org.springframework.context.ConfigurableApplicationContext context, java.lang.Class<T> factoryClass, java.lang.Object... args)
static void
registerFactories(org.springframework.beans.factory.BeanFactory bf, java.lang.Class<?> factoryType)
-
-
-
Method Detail
-
registerFactories
public static void registerFactories(@Nullable org.springframework.beans.factory.BeanFactory bf, java.lang.Class<?> factoryType)
-
loadFactories
public static <T> java.util.List<T> loadFactories(@Nullable org.springframework.context.ApplicationContext context, java.lang.Class<T> factoryType)
-
loadFactories
public static <T> java.util.List<T> loadFactories(@Nullable org.springframework.context.ConfigurableApplicationContext context, java.lang.Class<T> factoryType)
-
loadFactories
public static <T> java.util.List<T> loadFactories(@Nullable org.springframework.context.ConfigurableApplicationContext context, java.lang.Class<T> factoryClass, java.lang.Object... args)
-
loadFactories
public static <T> java.util.List<T> loadFactories(@Nullable org.springframework.beans.factory.BeanFactory beanFactory, java.lang.Class<T> factoryType)
-
-