Annotation Interface ConditionalOnJndi


@Documented @Retention(RUNTIME) @Conditional(cn.taketoday.context.condition.OnJndiCondition.class) @Target({TYPE,METHOD}) public @interface ConditionalOnJndi
@Conditional that matches based on the availability of a JNDI InitialContext and the ability to lookup specific locations.
从以下版本开始:
4.0 2022/1/17 14:51
作者:
Phillip Webb, Harry Yang
  • 可选元素概要

    可选元素
    修饰符和类型
    可选元素
    说明
    JNDI Locations, one of which must exist.
  • 元素详细资料

    • value

      String[] value
      JNDI Locations, one of which must exist. If no locations are specific the condition matches solely based on the presence of an InitialContext.
      返回:
      the JNDI locations
      默认值:
      {}