public class DevModeHandlerManagerImpl extends Object implements DevModeHandlerManager
DevModeHandler instance.
For internal use only. May be renamed or removed in a future release.
| Constructor and Description |
|---|
DevModeHandlerManagerImpl() |
| Modifier and Type | Method and Description |
|---|---|
DevModeHandler |
getDevModeHandler()
Returns a
DevModeHandler instance for the given service. |
Class<?>[] |
getHandlesTypes()
The annotations the dev mode handler is interested in having scanned from
the class path.
|
void |
initDevModeHandler(Set<Class<?>> classes,
VaadinContext context)
Starts up a new
DevModeHandler. |
static boolean |
isDevModeAlreadyStarted(VaadinContext context)
Shows whether
DevModeHandler has been already started or not. |
void |
setDevModeHandler(DevModeHandler devModeHandler)
Defines the handler to use with this manager.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDevModeHandler, getDevModeHandlerpublic Class<?>[] getHandlesTypes()
DevModeHandlerManagergetHandlesTypes in interface DevModeHandlerManagerpublic void setDevModeHandler(DevModeHandler devModeHandler)
DevModeHandlerManagersetDevModeHandler in interface DevModeHandlerManagerdevModeHandler - the dev mode handler to usepublic DevModeHandler getDevModeHandler()
DevModeHandlerManagerDevModeHandler instance for the given service.getDevModeHandler in interface DevModeHandlerManagerDevModeHandler instancepublic void initDevModeHandler(Set<Class<?>> classes, VaadinContext context) throws VaadinInitializerException
DevModeHandlerManagerDevModeHandler.initDevModeHandler in interface DevModeHandlerManagerclasses - classes to check for npm- and js modulescontext - servlet context we are running inVaadinInitializerException - if dev mode can't be initializedpublic static boolean isDevModeAlreadyStarted(VaadinContext context)
DevModeHandler has been already started or not.context - The VaadinContext, not nulltrue if DevModeHandler has already been
started, false - otherwiseCopyright © 2022. All rights reserved.