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
Nested ClassesModifier and TypeClassDescriptionprotected classListener sets provided class path to "java.class.path" property. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationContext -
Constructor Summary
ConstructorsConstructorDescriptionJmixVaadinServletContextInitializer(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:
onStartupin interfaceorg.springframework.boot.web.servlet.ServletContextInitializer- Overrides:
onStartupin classcom.vaadin.flow.spring.VaadinServletContextInitializer- Throws:
jakarta.servlet.ServletException
-