public interface DevModeHandlerManager
DevModeHandler instance by a
VaadinService.
For internal use only. May be renamed or removed in a future release.
| Modifier and Type | Method and Description |
|---|---|
DevModeHandler |
getDevModeHandler()
Returns a
DevModeHandler instance for the given service. |
static Optional<DevModeHandler> |
getDevModeHandler(VaadinService service)
Create a
DevModeHandler if factory available. |
Class<?>[] |
getHandlesTypes()
A dev mode handler implementation is interested in certain annotations to
be be scanned from the class path and passed to the
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. |
Class<?>[] getHandlesTypes()
initDevModeHandler(Set, VaadinContext) initializer.void initDevModeHandler(Set<Class<?>> classes, VaadinContext context) throws VaadinInitializerException
DevModeHandler.classes - classes to check for npm- and js modulescontext - servlet context we are running inVaadinInitializerException - if dev mode can't be initializedDevModeHandler getDevModeHandler()
DevModeHandler instance for the given service.DevModeHandler instanceboolean isDevModeAlreadyStarted(VaadinContext context)
DevModeHandler has been already started or not.context - The VaadinContext, not nulltrue if DevModeHandler has already been
started, false - otherwisestatic Optional<DevModeHandler> getDevModeHandler(VaadinService service)
DevModeHandler if factory available.service - a Vaadin serviceOptional containing a DevModeHandler instance
or EMPTY if disabledCopyright © 2021. All rights reserved.