Class DevModeInitializer

java.lang.Object
com.vaadin.base.devserver.startup.DevModeInitializer
All Implemented Interfaces:
Serializable

public class DevModeInitializer extends Object implements Serializable
Initializer for starting node updaters as well as the dev mode server.

For internal use only. May be renamed or removed in a future release.

Since:
2.0
See Also:
  • Constructor Details

    • DevModeInitializer

      public DevModeInitializer()
  • Method Details

    • initDevModeHandler

      public static DevModeHandler initDevModeHandler(Set<Class<?>> classes, VaadinContext context) throws 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:
      VaadinInitializerException - if dev mode can't be initialized