@WebListener public class DevModeInitializer extends Object implements VaadinServletContextStartupInitializer, Serializable, javax.servlet.ServletContextListener
For internal use only. May be renamed or removed in a future release.
| Constructor and Description | 
|---|
DevModeInitializer()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
contextDestroyed(javax.servlet.ServletContextEvent ctx)  | 
void | 
contextInitialized(javax.servlet.ServletContextEvent ctx)  | 
static void | 
initDevModeHandler(Set<Class<?>> classes,
                  javax.servlet.ServletContext context)
Deprecated. 
 
Use  
initDevModeHandler(Set, VaadinContext) instead
             by wrapping ServletContext with
             VaadinServletContext. | 
static void | 
initDevModeHandler(Set<Class<?>> classes,
                  VaadinContext context)
Initialize the devmode server if not in production mode or compatibility
 mode. 
 | 
void | 
initialize(Set<Class<?>> classes,
          VaadinContext context)
Applies this initializer to the given context 
 | 
static boolean | 
isDevModeAlreadyStarted(javax.servlet.ServletContext servletContext)
Deprecated. 
 
Use  
isDevModeAlreadyStarted(VaadinContext) instead
             by wrapping ServletContext with
             VaadinServletContext. | 
static boolean | 
isDevModeAlreadyStarted(VaadinContext context)
Shows whether  
DevModeHandler has been already started or not. | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprocessonStartup, requiresLookuppublic void initialize(Set<Class<?>> classes, VaadinContext context) throws VaadinInitializerException
VaadinContextStartupInitializerinitialize in interface VaadinContextStartupInitializerclasses - the Set of application classes which this initializer needs to
            do its jobcontext - the VaadinContext to use with this initializerVaadinInitializerException - if an error has occurred@Deprecated public static void initDevModeHandler(Set<Class<?>> classes, javax.servlet.ServletContext context) throws javax.servlet.ServletException
initDevModeHandler(Set, VaadinContext) instead
             by wrapping ServletContext with
             VaadinServletContext.classes - classes to check for npm- and js modulescontext - servlet context we are running injavax.servlet.ServletException - if dev mode can't be initializedpublic static void initDevModeHandler(Set<Class<?>> classes, VaadinContext context) throws VaadinInitializerException
classes - classes to check for npm- and js modulescontext - VaadinContext we are running inVaadinInitializerException - if dev mode can't be initialized@Deprecated public static boolean isDevModeAlreadyStarted(javax.servlet.ServletContext servletContext)
isDevModeAlreadyStarted(VaadinContext) instead
             by wrapping ServletContext with
             VaadinServletContext.DevModeHandler has been already started or not.servletContext - The servlet context, not nulltrue if DevModeHandler has already been
         started, false - otherwisepublic static boolean isDevModeAlreadyStarted(VaadinContext context)
DevModeHandler has been already started or not.context - The VaadinContext, not nulltrue if DevModeHandler has already been
         started, false - otherwisepublic void contextInitialized(javax.servlet.ServletContextEvent ctx)
contextInitialized in interface javax.servlet.ServletContextListenerpublic void contextDestroyed(javax.servlet.ServletContextEvent ctx)
contextDestroyed in interface javax.servlet.ServletContextListenerCopyright © 2021. All rights reserved.