Package io.jmix.flowui.sys
Class JmixVaadinServletContextInitializer
java.lang.Object
com.vaadin.flow.spring.VaadinServletContextInitializer
io.jmix.flowui.sys.JmixVaadinServletContextInitializer
- All Implemented Interfaces:
org.springframework.boot.web.servlet.ServletContextInitializer
public class JmixVaadinServletContextInitializer
extends com.vaadin.flow.spring.VaadinServletContextInitializer
Workaround on Windows OS if you build project using gradle with long class path.
This class extends
VaadinServletContextInitializer
and overrides it using
jmix.core.exclude-beans
property in module properties.
Also see issue and comments: jmix-framework/jmix#1571
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected class
Listener sets provided class path to "java.class.path" property. -
Field Summary
Modifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationContext
-
Constructor Summary
ConstructorDescriptionJmixVaadinServletContextInitializer
(org.springframework.context.ApplicationContext applicationContext) -
Method Summary
-
Field Details
-
applicationContext
protected org.springframework.context.ApplicationContext applicationContext
-
-
Constructor Details
-
JmixVaadinServletContextInitializer
public JmixVaadinServletContextInitializer(org.springframework.context.ApplicationContext applicationContext)
-
-
Method Details
-
onStartup
public void onStartup(jakarta.servlet.ServletContext servletContext) throws jakarta.servlet.ServletException - Specified by:
onStartup
in interfaceorg.springframework.boot.web.servlet.ServletContextInitializer
- Overrides:
onStartup
in classcom.vaadin.flow.spring.VaadinServletContextInitializer
- Throws:
jakarta.servlet.ServletException
-