Interface ManagementContextFactory

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface ManagementContextFactory
Factory for creating a separate management context when the management web server is running on a different port to the main application.
Since:
2.0.0
Author:
Andy Wilkinson
  • Method Details

    • createManagementContext

      ConfigurableWebServerApplicationContext createManagementContext(ApplicationContext parent, Class<?>... configurationClasses)
      Create the management application context.
      Parameters:
      parent - the parent context
      configurationClasses - the configuration classes
      Returns:
      a configured application context