@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.| Modifier and Type | Optional Element and Description |
|---|---|
java.lang.String[] |
value
JNDI Locations, one of which must exist.
|