org.springframework.core.PriorityOrdered |
Known Indirect Subclasses
AutowiredAnnotationBeanPostProcessor,
CommonAnnotationBeanPostProcessor,
InitDestroyAnnotationBeanPostProcessor,
PersistenceAnnotationBeanPostProcessor,
PlaceholderConfigurerSupport,
PreferencesPlaceholderConfigurer,
PropertyOverrideConfigurer,
PropertyPlaceholderConfigurer,
PropertyResourceConfigurer,
PropertySourcesPlaceholderConfigurer,
RequiredAnnotationBeanPostProcessor,
ServletContextPropertyPlaceholderConfigurer
|
Class Overview
Extension of the Ordered
interface, expressing a 'priority'
ordering: Order values expressed by PriorityOrdered objects always
apply before order values of 'plain' Ordered values.
This is primarily a special-purpose interface, used for objects
where it is particularly important to determine 'prioritized'
objects first, without even obtaining the remaining objects.
A typical example: Prioritized post-processors in a Spring
ApplicationContext
.
Note: PriorityOrdered post-processor beans are initialized in
a special phase, ahead of other post-processor beans. This subtly
affects their autowiring behavior: They will only be autowired against
beans which do not require eager initialization for type matching.