Class DevModeStartupListener
- java.lang.Object
-
- com.vaadin.base.devserver.startup.DevModeStartupListener
-
- All Implemented Interfaces:
ClassLoaderAwareServletContainerInitializer
,VaadinContextStartupInitializer
,VaadinServletContextStartupInitializer
,Serializable
,EventListener
,javax.servlet.ServletContainerInitializer
,javax.servlet.ServletContextListener
@WebListener public class DevModeStartupListener extends Object implements VaadinServletContextStartupInitializer, Serializable, javax.servlet.ServletContextListener
Trigger for running dev mode initialization when running in a compatible servlet environment.For internal use only. May be renamed or removed in a future release.
- Since:
- 2.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DevModeStartupListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
contextDestroyed(javax.servlet.ServletContextEvent ctx)
void
contextInitialized(javax.servlet.ServletContextEvent ctx)
void
initialize(Set<Class<?>> classes, VaadinContext context)
Applies this initializer to the given context-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.vaadin.flow.server.startup.ClassLoaderAwareServletContainerInitializer
onStartup, requiresLookup
-
Methods inherited from interface com.vaadin.flow.server.startup.VaadinServletContextStartupInitializer
process
-
-
-
-
Method Detail
-
initialize
public void initialize(Set<Class<?>> classes, VaadinContext context) throws VaadinInitializerException
Description copied from interface:VaadinContextStartupInitializer
Applies this initializer to the given context- Specified by:
initialize
in interfaceVaadinContextStartupInitializer
- Parameters:
classes
- the Set of application classes which this initializer needs to do its jobcontext
- theVaadinContext
to use with this initializer- Throws:
VaadinInitializerException
- if an error has occurred
-
contextInitialized
public void contextInitialized(javax.servlet.ServletContextEvent ctx)
- Specified by:
contextInitialized
in interfacejavax.servlet.ServletContextListener
-
contextDestroyed
public void contextDestroyed(javax.servlet.ServletContextEvent ctx)
- Specified by:
contextDestroyed
in interfacejavax.servlet.ServletContextListener
-
-