public class DevModeHandlerManagerImpl extends Object implements DevModeHandlerManager
DevModeHandler instance by a
VaadinService.
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()
A dev mode handler implementation is interested in certain annotations to
be be scanned from the class path and passed to the
DevModeHandlerManager.initDevModeHandler(Set, VaadinContext) initializer. |
void |
initDevModeHandler(Set<Class<?>> classes,
VaadinContext context)
Starts up a new
DevModeHandler. |
boolean |
isDevModeAlreadyStarted(VaadinContext context)
Returns whether
DevModeHandler has been already started or not. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDevModeHandlerpublic Class<?>[] getHandlesTypes()
DevModeHandlerManagerDevModeHandlerManager.initDevModeHandler(Set, VaadinContext) initializer.getHandlesTypes in interface DevModeHandlerManagerpublic 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 DevModeHandler getDevModeHandler()
DevModeHandlerManagerDevModeHandler instance for the given service.getDevModeHandler in interface DevModeHandlerManagerDevModeHandler instancepublic boolean isDevModeAlreadyStarted(VaadinContext context)
DevModeHandlerManagerDevModeHandler has been already started or not.isDevModeAlreadyStarted in interface DevModeHandlerManagercontext - The VaadinContext, not nulltrue if DevModeHandler has already been
started, false - otherwiseCopyright © 2021. All rights reserved.