@Condition
annotations and supporting classes.
Annotation Types Summary Annotation Type | Description |
---|
ConditionalOnBean | Conditional that only matches when beans meeting all the specified requirements are already contained in the BeanFactory .
|
---|
ConditionalOnClass | Conditional that only matches when the specified classes are on the classpath.
|
---|
ConditionalOnCloudPlatform | Conditional that matches when the specified cloud platform is active.
|
---|
ConditionalOnExpression | Configuration annotation for a conditional element that depends on the value of a SpEL expression. |
---|
ConditionalOnJava | Conditional that matches based on the JVM version the application is running on.
|
---|
ConditionalOnJndi | Conditional that matches based on the availability of a JNDI InitialContext and the ability to lookup specific locations. |
---|
ConditionalOnMissingBean | Conditional that only matches when no beans meeting the specified requirements are already contained in the BeanFactory .
|
---|
ConditionalOnMissingClass | Conditional that only matches when the specified classes are not on the classpath.
|
---|
ConditionalOnNotWebApplication | Conditional that only matches when the application context is a not a web application context.
|
---|
ConditionalOnProperty | Conditional that checks if the specified properties have a specific value.
|
---|
ConditionalOnResource | Conditional that only matches when the specified resources are on the classpath.
|
---|
ConditionalOnSingleCandidate | Conditional that only matches when a bean of the specified class is already contained in the BeanFactory and a single candidate can be determined.
|
---|
ConditionalOnWebApplication | Conditional that matches when the application is a web application.
|
---|