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 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 the WebServerFactory used to create the management context's web server.
Since:
2.0.0
  • Constructor Details

    • ManagementWebServerFactoryCustomizer

      public ManagementWebServerFactoryCustomizer(org.springframework.beans.factory.ListableBeanFactory beanFactory)
      Creates a new customizer that will retrieve beans using the given beanFactory.
      Parameters:
      beanFactory - the bean factory to use
      Since:
      3.5.0
  • Method Details

    • getOrder

      public int getOrder()
      Specified by:
      getOrder in interface org.springframework.core.Ordered
    • customize

      public final void customize(T factory)
      Specified by:
      customize in interface org.springframework.boot.web.server.WebServerFactoryCustomizer<T extends org.springframework.boot.web.server.ConfigurableWebServerFactory>
    • customize

      protected void customize(T factory, ManagementServerProperties managementServerProperties, org.springframework.boot.web.server.autoconfigure.ServerProperties serverProperties)