Class ManagementWebServerFactoryCustomizer<T extends ConfigurableWebServerFactory>
java.lang.Object
org.springframework.boot.actuate.autoconfigure.web.server.ManagementWebServerFactoryCustomizer<T>
- Type Parameters:
T
- the type of web server factory to customize
- All Implemented Interfaces:
WebServerFactoryCustomizer<T>
,Ordered
public abstract class ManagementWebServerFactoryCustomizer<T extends ConfigurableWebServerFactory>
extends Object
implements WebServerFactoryCustomizer<T>, Ordered
WebServerFactoryCustomizer
that customizes the WebServerFactory
used to
create the management context's web server.- Since:
- 2.0.0
- Author:
- Andy Wilkinson
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
ModifierConstructorDescriptionprotected
ManagementWebServerFactoryCustomizer
(ListableBeanFactory beanFactory, Class<? extends WebServerFactoryCustomizer<?>>... customizerClasses) -
Method Summary
Modifier and TypeMethodDescriptionfinal void
Customize the specifiedWebServerFactory
.protected void
customize
(T factory, ManagementServerProperties managementServerProperties, ServerProperties serverProperties) int
getOrder()
-
Constructor Details
-
ManagementWebServerFactoryCustomizer
@SafeVarargs protected ManagementWebServerFactoryCustomizer(ListableBeanFactory beanFactory, Class<? extends WebServerFactoryCustomizer<?>>... customizerClasses)
-
-
Method Details
-
getOrder
public int getOrder() -
customize
Description copied from interface:WebServerFactoryCustomizer
Customize the specifiedWebServerFactory
.- Specified by:
customize
in interfaceWebServerFactoryCustomizer<T extends ConfigurableWebServerFactory>
- Parameters:
factory
- the web server factory to customize
-
customize
protected void customize(T factory, ManagementServerProperties managementServerProperties, ServerProperties serverProperties)
-