类 ContextUtils

java.lang.Object
cn.taketoday.context.support.ContextUtils

public abstract class ContextUtils extends Object
ApplicationContext Utils

This class provides el, Properties loading, Parameter resolving

作者:
TODAY
2019-01-16 20:04
  • 构造器详细资料

    • ContextUtils

      public ContextUtils()
  • 方法详细资料

    • loadFromMetaInfo

      public static Set<Class<?>> loadFromMetaInfo(String resource)
      Scan classes set from META-INF/xxx
      参数:
      resource - Resource file start with 'META-INF'
      返回:
      Class set from META-INF/xxx
      抛出:
      ApplicationContextException - If any IOException occurred
    • loadFromMetaInfoClass

      public static Set<String> loadFromMetaInfoClass(String resource)
    • loadBeansFromMetaInfo

      public static <T> Set<T> loadBeansFromMetaInfo(String resource)
      Scan beans set from META-INF/xxx
      参数:
      resource - Resource file start with 'META-INF'
      返回:
      bean set from META-INF/xxx
      抛出:
      ApplicationContextException - If any IOException occurred
      从以下版本开始:
      3.0
    • loadBeansFromMetaInfo

      public static <T> Set<T> loadBeansFromMetaInfo(String resource, BeanFactory beanFactory)