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(VaadinContext context)
Gets the  
DevModeHandler. | 
static Optional<DevModeHandler> | 
getDevModeHandler(VaadinService service)
Gets the  
DevModeHandler. | 
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. | 
void | 
setDevModeHandler(DevModeHandler devModeHandler)
Defines the handler to use with this manager. 
 | 
Class<?>[] getHandlesTypes()
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 initializedvoid setDevModeHandler(DevModeHandler devModeHandler)
devModeHandler - the dev mode handler to useDevModeHandler getDevModeHandler()
DevModeHandler instance for the given service.DevModeHandler instancestatic Optional<DevModeHandler> getDevModeHandler(VaadinService service)
DevModeHandler.service - a Vaadin serviceOptional containing a DevModeHandler instance
         or EMPTY if disabledstatic Optional<DevModeHandler> getDevModeHandler(VaadinContext context)
DevModeHandler.context - the Vaadin contextOptional containing a DevModeHandler instance
         or EMPTY if disabledCopyright © 2024. All rights reserved.