@Target(value={TYPE,METHOD}) @Retention(value=RUNTIME) @Documented @Conditional(value=org.springframework.boot.autoconfigure.condition.OnJndiCondition.class) public @interface ConditionalOnJndi
@Conditional
that matches based on the availability of a JNDI
InitialContext
and the ability to lookup specific locations.public abstract String[] value
InitialContext
.