Package io.jmix.flowui.devserver.startup
Class DevModeInitializer
java.lang.Object
io.jmix.flowui.devserver.startup.DevModeInitializer
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic com.vaadin.flow.internal.DevModeHandler
initDevModeHandler
(Set<Class<?>> classes, com.vaadin.flow.server.VaadinContext context) Initialize the devmode server if not in production mode or compatibility mode.
-
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 modulescontext
- 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
-