We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.base.devserver.startup.
Class DevModeInitializer
- java.lang.Object
-
- com.vaadin.base.devserver.startup.DevModeInitializer
-
All Implemented Interfaces:
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 Summary
Constructors Constructor Description DevModeInitializer()
-
Method Summary
All Methods Modifier and Type Method Description static DevModeHandler
initDevModeHandler​(Set<Class<?>> classes, VaadinContext context)
Initialize the devmode server if not in production mode or compatibility mode.
-
-
-
Method Detail
-
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 modulescontext
- VaadinContext we are running inReturns:
the initialized dev mode handler or
null
if none was createdThrows:
VaadinInitializerException
- if dev mode can't be initialized
-
-