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, wait
getDevModeHandler, getDevModeHandler
public Class<?>[] getHandlesTypes()
DevModeHandlerManager
getHandlesTypes
in interface DevModeHandlerManager
public void setDevModeHandler(DevModeHandler devModeHandler)
DevModeHandlerManager
setDevModeHandler
in interface DevModeHandlerManager
devModeHandler
- the dev mode handler to usepublic DevModeHandler getDevModeHandler()
DevModeHandlerManager
DevModeHandler
instance for the given service
.getDevModeHandler
in interface DevModeHandlerManager
DevModeHandler
instancepublic void initDevModeHandler(Set<Class<?>> classes, VaadinContext context) throws VaadinInitializerException
DevModeHandlerManager
DevModeHandler
.initDevModeHandler
in interface DevModeHandlerManager
classes
- 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 null
true
if DevModeHandler
has already been
started, false
- otherwiseCopyright © 2022. All rights reserved.