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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
contextDestroyed
(jakarta.servlet.ServletContextEvent ctx) void
contextInitialized
(jakarta.servlet.ServletContextEvent ctx) void
initialize
(Set<Class<?>> classes, com.vaadin.flow.server.VaadinContext 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
-
Constructor Details
-
DevModeStartupListener
public DevModeStartupListener()
-
-
Method Details
-
initialize
public void initialize(Set<Class<?>> classes, com.vaadin.flow.server.VaadinContext context) throws com.vaadin.flow.server.startup.VaadinInitializerException - Specified by:
initialize
in interfacecom.vaadin.flow.server.startup.VaadinContextStartupInitializer
- Throws:
com.vaadin.flow.server.startup.VaadinInitializerException
-
contextInitialized
public void contextInitialized(jakarta.servlet.ServletContextEvent ctx) - Specified by:
contextInitialized
in interfacejakarta.servlet.ServletContextListener
-
contextDestroyed
public void contextDestroyed(jakarta.servlet.ServletContextEvent ctx) - Specified by:
contextDestroyed
in interfacejakarta.servlet.ServletContextListener
-