ConfigurationPhase enum
The moment of loading at which a ConfigurationCondition is decided.
Spring (Java): ConfigurationCondition.ConfigurationPhase.
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
@Beanmethods) are registered: after every module has been parsed, class by class in parse order (Spring'sConfigurationClassBeanDefinitionReader). Use it for conditions on other beans. Such a condition sees the components and the beans registered while parsing, and the@Beanmethods 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.