Annotation Interface MissingComponent


@Retention(RUNTIME) @Target({TYPE,METHOD}) public @interface MissingComponent
Context will create a bean definition when current context were missing
从以下版本开始:
3.0.6
作者:
TODAY 2021/7/15 21:36
  • 可选元素概要

    可选元素
    修饰符和类型
    可选元素
    说明
    boolean
    equals type() ?
    this attr determine the bean definition
    Missing bean name
  • 元素详细资料

    • value

      @AliasFor(annotation=MissingBean.class) String value
      Missing bean name

      this attr determine the bean definition

      默认值:
      ""
    • type

      @AliasFor(annotation=MissingBean.class) Class<?> type
      this attr determine the bean definition
      默认值:
      void.class
    • equals

      @AliasFor(annotation=MissingBean.class) boolean equals
      equals type() ?
      默认值:
      false