Class DevModeInitializer

java.lang.Object
io.jmix.flowui.devserver.startup.DevModeInitializer
All Implemented Interfaces:
Serializable

public class DevModeInitializer extends Object implements Serializable
See Also:
  • Constructor Details

    • DevModeInitializer

      public DevModeInitializer()
  • Method Details

    • initDevModeHandler

      public static com.vaadin.flow.internal.DevModeHandler initDevModeHandler(Set<Class<?>> classes, com.vaadin.flow.server.VaadinContext context) throws com.vaadin.flow.server.startup.VaadinInitializerException
      Initialize the devmode server if not in production mode or compatibility mode.
      Parameters:
      classes - classes to check for npm- and js modules
      context - VaadinContext we are running in
      Returns:
      the initialized dev mode handler or null if none was created
      Throws:
      com.vaadin.flow.server.startup.VaadinInitializerException - if dev mode can't be initialized