You're viewing an older version of Vaadin JavaDoc. Please see version 24.7.0 for the latest.
com.vaadin.flow.internal.

Interface DevModeHandlerManager

  • All Known Implementing Classes:

    DevModeHandlerManagerImpl

    public interface DevModeHandlerManager

    Provides API to access to the DevModeHandler instance by a VaadinService.

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

    Since:

    Author:

    Vaadin Ltd

    • Method Detail

      • getHandlesTypes

        Class<?>[] getHandlesTypes()

        The annotations the dev mode handler is interested in having scanned from the class path.

        Returns:

        an array of types the dev mode handler is interested in

      • stopDevModeHandler

        void stopDevModeHandler()

        Stops a running DevModeHandler.

      • setDevModeHandler

        void setDevModeHandler​(DevModeHandler devModeHandler)

        Defines the handler to use with this manager.

        Parameters:

        devModeHandler - the dev mode handler to use

      • launchBrowserInDevelopmentMode

        void launchBrowserInDevelopmentMode​(String url)

        Opens the given application URL in a browser if the application is running in development mode.

        Parameters:

        url - the url to open