Class ServletContextInitializerBeans

java.lang.Object
java.util.AbstractCollection<ServletContextInitializer>
org.springframework.boot.web.servlet.ServletContextInitializerBeans
All Implemented Interfaces:
Iterable<ServletContextInitializer>, Collection<ServletContextInitializer>

public class ServletContextInitializerBeans extends AbstractCollection<ServletContextInitializer>
A collection ServletContextInitializers obtained from a ListableBeanFactory. Includes all ServletContextInitializer beans and also adapts Servlet, Filter and certain EventListener beans.

Items are sorted so that adapted beans are top (Servlet, Filter then EventListener) and direct ServletContextInitializer beans are at the end. Further sorting is applied within these groups using the AnnotationAwareOrderComparator.

Since:
1.4.0