ConfigurationPhase enum

The moment of loading at which a ConfigurationCondition is decided.

Spring (Java): ConfigurationCondition.ConfigurationPhase.

Inheritance
Available extensions

Values

parseConfiguration → const ConfigurationPhase

While the configuration is parsed: decides whether a configuration class is used at all (its imports, @PropertySources, selectors) and whether a component is registered. Few beans are known yet.

registerBean → const ConfigurationPhase

When the bean definitions of configuration classes (the class itself and its @Bean methods) are registered: after every module has been parsed, class by class in parse order (Spring's ConfigurationClassBeanDefinitionReader). Use it for conditions on other beans. Such a condition sees the components and the beans registered while parsing, and the @Bean methods and registrar beans of the classes read before (application classes before auto-configurations, imported classes before their importer).

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

values → const List<ConfigurationPhase>
A constant List of the values in this enum, in order of their declaration.