Class OnMissingBeanCondition
- java.lang.Object
-
- org.springframework.boot.autoconfigure.condition.SpringBootCondition
-
- com.ulisesbocchio.jasyptspringboot.condition.OnMissingBeanCondition
-
- All Implemented Interfaces:
org.springframework.context.annotation.Condition,org.springframework.context.annotation.ConfigurationCondition
public class OnMissingBeanCondition extends org.springframework.boot.autoconfigure.condition.SpringBootCondition implements org.springframework.context.annotation.ConfigurationConditionCondition that checks whether the specified bean by placeholder like: ${bean.name:defaultName} exists. Spring's ConditionalOnMissingBean does not support placeholder resolution.
-
-
Constructor Summary
Constructors Constructor Description OnMissingBeanCondition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.context.annotation.ConfigurationCondition.ConfigurationPhasegetConfigurationPhase()org.springframework.boot.autoconfigure.condition.ConditionOutcomegetMatchOutcome(org.springframework.context.annotation.ConditionContext context, org.springframework.core.type.AnnotatedTypeMetadata metadata)-
Methods inherited from class org.springframework.boot.autoconfigure.condition.SpringBootCondition
anyMatches, logOutcome, matches, matches
-
-
-
-
Method Detail
-
getMatchOutcome
public org.springframework.boot.autoconfigure.condition.ConditionOutcome getMatchOutcome(org.springframework.context.annotation.ConditionContext context, org.springframework.core.type.AnnotatedTypeMetadata metadata)- Specified by:
getMatchOutcomein classorg.springframework.boot.autoconfigure.condition.SpringBootCondition
-
getConfigurationPhase
public org.springframework.context.annotation.ConfigurationCondition.ConfigurationPhase getConfigurationPhase()
- Specified by:
getConfigurationPhasein interfaceorg.springframework.context.annotation.ConfigurationCondition
-
-