Class DelegatingApplicationContextInitializer
java.lang.Object
org.springframework.boot.context.config.DelegatingApplicationContextInitializer
- All Implemented Interfaces:
ApplicationContextInitializer<ConfigurableApplicationContext>
,Ordered
public class DelegatingApplicationContextInitializer
extends Object
implements ApplicationContextInitializer<ConfigurableApplicationContext>, Ordered
ApplicationContextInitializer
that delegates to other initializers that are
specified under a context.initializer.classes environment property.- Since:
- 1.0.0
- Author:
- Dave Syer, Phillip Webb
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getOrder()
void
initialize
(ConfigurableApplicationContext context) void
setOrder
(int order)
-
Constructor Details
-
DelegatingApplicationContextInitializer
public DelegatingApplicationContextInitializer()
-
-
Method Details
-
initialize
- Specified by:
initialize
in interfaceApplicationContextInitializer<ConfigurableApplicationContext>
-
setOrder
public void setOrder(int order) -
getOrder
public int getOrder()
-