接口 ConfigurationCondition
- 所有超级接口:
Condition
public interface ConfigurationCondition extends Condition
ACondition
that offers more fine-grained control when used with@Configuration
. Allows certainCondition
s to adapt when they match based on the configuration phase. For example, a condition that checks if a bean has already been registered might choose to only be evaluated during theREGISTER_BEAN
ConfigurationCondition.ConfigurationPhase
.- 从以下版本开始:
- 4.0
- 作者:
- Phillip Webb
- 另请参阅:
Configuration
嵌套类概要
嵌套类 修饰符和类型 接口 说明 static class
ConfigurationCondition.ConfigurationPhase
The various configuration phases where the condition could be evaluated.
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 ConfigurationCondition.ConfigurationPhase
getConfigurationPhase()
Return theConfigurationCondition.ConfigurationPhase
in which the condition should be evaluated.
方法详细资料
getConfigurationPhase
ConfigurationCondition.ConfigurationPhase getConfigurationPhase()
Return theConfigurationCondition.ConfigurationPhase
in which the condition should be evaluated.