Class OnPropertyCondition
java.lang.Object
be.imgn.inject.context.OnPropertyCondition
- All Implemented Interfaces:
Condition
Built-in
Condition for ConditionalOnProperty.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionClass<? extends Annotation> Returns the conditioning annotation this condition handles.booleanmatches(ConditionContext context, AnnotationValue annotation) Returns whether the bean should be registered.
-
Constructor Details
-
OnPropertyCondition
public OnPropertyCondition()Creates the condition. Instantiated byServiceLoader.
-
-
Method Details
-
annotationType
Description copied from interface:ConditionReturns the conditioning annotation this condition handles.- Specified by:
annotationTypein interfaceCondition- Returns:
- the conditioning annotation this condition handles
-
matches
Description copied from interface:ConditionReturns whether the bean should be registered.
-