Class DelegatingApplicationContextInitializer
java.lang.Object
org.springframework.boot.context.config.DelegatingApplicationContextInitializer
- All Implemented Interfaces:
ApplicationContextInitializer<ConfigurableApplicationContext>
,Ordered
@Deprecated(since="3.2.0",
forRemoval=true)
public class DelegatingApplicationContextInitializer
extends Object
implements ApplicationContextInitializer<ConfigurableApplicationContext>, Ordered
Deprecated, for removal: This API element is subject to removal in a future version.
since 3.2.0 for removal in 3.4.0 as property based initialization is no
longer recommended
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
ConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionint
getOrder()
Deprecated, for removal: This API element is subject to removal in a future version.void
initialize
(ConfigurableApplicationContext context) Deprecated, for removal: This API element is subject to removal in a future version.void
setOrder
(int order) Deprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Details
-
DelegatingApplicationContextInitializer
public DelegatingApplicationContextInitializer()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
initialize
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
initialize
in interfaceApplicationContextInitializer<ConfigurableApplicationContext>
-
setOrder
public void setOrder(int order) Deprecated, for removal: This API element is subject to removal in a future version. -
getOrder
public int getOrder()Deprecated, for removal: This API element is subject to removal in a future version.
-