Package io.jmix.flowui.devserver
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.vaadin.flow.internal.DevModeHandler
Class<?>[]
void
initDevModeHandler
(Set<Class<?>> classes, com.vaadin.flow.server.VaadinContext context) static boolean
isDevModeAlreadyStarted
(com.vaadin.flow.server.VaadinContext context) Shows whetherDevModeHandler
has been already started or not.void
void
setDevModeHandler
(com.vaadin.flow.internal.DevModeHandler devModeHandler) void
-
Constructor Details
-
DevModeHandlerManagerImpl
public DevModeHandlerManagerImpl()
-
-
Method Details
-
getHandlesTypes
- Specified by:
getHandlesTypes
in interfacecom.vaadin.flow.internal.DevModeHandlerManager
-
setDevModeHandler
public void setDevModeHandler(com.vaadin.flow.internal.DevModeHandler devModeHandler) - Specified by:
setDevModeHandler
in interfacecom.vaadin.flow.internal.DevModeHandlerManager
-
getDevModeHandler
public com.vaadin.flow.internal.DevModeHandler getDevModeHandler()- Specified by:
getDevModeHandler
in interfacecom.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 interfacecom.vaadin.flow.internal.DevModeHandlerManager
- Throws:
com.vaadin.flow.server.startup.VaadinInitializerException
-
stopDevModeHandler
public void stopDevModeHandler()- Specified by:
stopDevModeHandler
in interfacecom.vaadin.flow.internal.DevModeHandlerManager
-
launchBrowserInDevelopmentMode
- Specified by:
launchBrowserInDevelopmentMode
in interfacecom.vaadin.flow.internal.DevModeHandlerManager
-
isDevModeAlreadyStarted
public static boolean isDevModeAlreadyStarted(com.vaadin.flow.server.VaadinContext context) Shows whetherDevModeHandler
has been already started or not.- Parameters:
context
- TheVaadinContext
, notnull
- Returns:
true
ifDevModeHandler
has already been started,false
- otherwise
-