Class ManagementWebServerFactoryCustomizer<T extends org.springframework.boot.web.server.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:
org.springframework.boot.web.server.WebServerFactoryCustomizer<T>
,org.springframework.core.Ordered
public abstract class ManagementWebServerFactoryCustomizer<T extends org.springframework.boot.web.server.ConfigurableWebServerFactory> extends Object implements org.springframework.boot.web.server.WebServerFactoryCustomizer<T>, org.springframework.core.Ordered
WebServerFactoryCustomizer
that customizes theWebServerFactory
used to create the management context's web server.- Since:
- 2.0.0
Constructor Summary
Constructors Modifier Constructor Description protected
ManagementWebServerFactoryCustomizer(org.springframework.beans.factory.ListableBeanFactory beanFactory, Class<? extends org.springframework.boot.web.server.WebServerFactoryCustomizer<?>>... customizerClasses)
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
customize(T factory)
protected void
customize(T factory, ManagementServerProperties managementServerProperties, org.springframework.boot.autoconfigure.web.ServerProperties serverProperties)
int
getOrder()
Constructor Detail
ManagementWebServerFactoryCustomizer
@SafeVarargs protected ManagementWebServerFactoryCustomizer(org.springframework.beans.factory.ListableBeanFactory beanFactory, Class<? extends org.springframework.boot.web.server.WebServerFactoryCustomizer<?>>... customizerClasses)
Method Detail
getOrder
public int getOrder()
- Specified by:
getOrder
in interfaceorg.springframework.core.Ordered
customize
public final void customize(T factory)
- Specified by:
customize
in interfaceorg.springframework.boot.web.server.WebServerFactoryCustomizer<T extends org.springframework.boot.web.server.ConfigurableWebServerFactory>
customize
protected void customize(T factory, ManagementServerProperties managementServerProperties, org.springframework.boot.autoconfigure.web.ServerProperties serverProperties)