Class DevModeHandlerManagerImpl

java.lang.Object
io.jmix.flowui.devserver.DevModeHandlerManagerImpl
All Implemented Interfaces:
com.vaadin.flow.internal.DevModeHandlerManager

public class DevModeHandlerManagerImpl extends Object implements com.vaadin.flow.internal.DevModeHandlerManager
Provides API to access to the DevModeHandler instance.

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

Since:
  • Constructor Details

    • DevModeHandlerManagerImpl

      public DevModeHandlerManagerImpl()
  • Method Details

    • getHandlesTypes

      public Class<?>[] getHandlesTypes()
      Specified by:
      getHandlesTypes in interface com.vaadin.flow.internal.DevModeHandlerManager
    • setDevModeHandler

      public void setDevModeHandler(com.vaadin.flow.internal.DevModeHandler devModeHandler)
      Specified by:
      setDevModeHandler in interface com.vaadin.flow.internal.DevModeHandlerManager
    • getDevModeHandler

      public com.vaadin.flow.internal.DevModeHandler getDevModeHandler()
      Specified by:
      getDevModeHandler in interface com.vaadin.flow.internal.DevModeHandlerManager
    • initDevModeHandler

      public void initDevModeHandler(Set<Class<?>> classes, com.vaadin.flow.server.VaadinContext context) throws com.vaadin.flow.server.startup.VaadinInitializerException
      Specified by:
      initDevModeHandler in interface com.vaadin.flow.internal.DevModeHandlerManager
      Throws:
      com.vaadin.flow.server.startup.VaadinInitializerException
    • stopDevModeHandler

      public void stopDevModeHandler()
      Specified by:
      stopDevModeHandler in interface com.vaadin.flow.internal.DevModeHandlerManager
    • launchBrowserInDevelopmentMode

      public void launchBrowserInDevelopmentMode(String url)
      Specified by:
      launchBrowserInDevelopmentMode in interface com.vaadin.flow.internal.DevModeHandlerManager
    • isDevModeAlreadyStarted

      public static boolean isDevModeAlreadyStarted(com.vaadin.flow.server.VaadinContext context)
      Shows whether DevModeHandler has been already started or not.
      Parameters:
      context - The VaadinContext, not null
      Returns:
      true if DevModeHandler has already been started, false - otherwise