类 AbstractApplicationContextRunner.BeanRegistration<T>

java.lang.Object
cn.taketoday.framework.test.context.runner.AbstractApplicationContextRunner.BeanRegistration<T>
类型参数:
T - the bean type
封闭类:
AbstractApplicationContextRunner<SELF extends AbstractApplicationContextRunner<SELF,C,A>,C extends cn.taketoday.context.ConfigurableApplicationContext,A extends ApplicationContextAssertProvider<C>>

protected static final class AbstractApplicationContextRunner.BeanRegistration<T> extends Object
A Bean registration to be applied when the context loaded.
  • 字段详细资料

    • registrar

      Consumer<cn.taketoday.context.support.GenericApplicationContext> registrar
  • 构造器详细资料

    • BeanRegistration

      public BeanRegistration(String name, Class<T> type, Object... constructorArgs)
    • BeanRegistration

      public BeanRegistration(String name, Class<T> type, Supplier<T> supplier, cn.taketoday.beans.factory.config.BeanDefinitionCustomizer... customizers)
  • 方法详细资料

    • apply

      public void apply(cn.taketoday.context.ConfigurableApplicationContext context)