Package io.jmix.flowui.devserver.startup
Class DevModeStartupListener
java.lang.Object
io.jmix.flowui.devserver.startup.DevModeStartupListener
- All Implemented Interfaces:
- com.vaadin.flow.server.startup.ClassLoaderAwareServletContainerInitializer,- com.vaadin.flow.server.startup.VaadinContextStartupInitializer,- com.vaadin.flow.server.startup.VaadinServletContextStartupInitializer,- jakarta.servlet.ServletContainerInitializer,- jakarta.servlet.ServletContextListener,- Serializable,- EventListener
@WebListener
public class DevModeStartupListener
extends Object
implements com.vaadin.flow.server.startup.VaadinServletContextStartupInitializer, Serializable, jakarta.servlet.ServletContextListener
Trigger for running dev mode initialization when running in a compatible
 servlet environment.
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidcontextDestroyed(jakarta.servlet.ServletContextEvent ctx) voidcontextInitialized(jakarta.servlet.ServletContextEvent ctx) voidinitialize(Set<Class<?>> classes, com.vaadin.flow.server.VaadinContext context) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.server.startup.ClassLoaderAwareServletContainerInitializeronStartup, requiresLookupMethods inherited from interface com.vaadin.flow.server.startup.VaadinServletContextStartupInitializerprocess
- 
Constructor Details- 
DevModeStartupListenerpublic DevModeStartupListener()
 
- 
- 
Method Details- 
initializepublic void initialize(Set<Class<?>> classes, com.vaadin.flow.server.VaadinContext context) throws com.vaadin.flow.server.startup.VaadinInitializerException - Specified by:
- initializein interface- com.vaadin.flow.server.startup.VaadinContextStartupInitializer
- Throws:
- com.vaadin.flow.server.startup.VaadinInitializerException
 
- 
contextInitializedpublic void contextInitialized(jakarta.servlet.ServletContextEvent ctx) - Specified by:
- contextInitializedin interface- jakarta.servlet.ServletContextListener
 
- 
contextDestroyedpublic void contextDestroyed(jakarta.servlet.ServletContextEvent ctx) - Specified by:
- contextDestroyedin interface- jakarta.servlet.ServletContextListener
 
 
-