META-INF.web-fragment.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <web-fragment xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-fragment_3_0.xsd" version="3.0" metadata-complete="true"> <name>wavemakerAppRuntime</name> <welcome-file-list> <welcome-file>index.html</welcome-file> </welcome-file-list> <listener> <listener-class>com.wavemaker.runtime.web.listener.WMAppFirstListener</listener-class> </listener> <listener> <listener-class>com.wavemaker.runtime.web.listener.CleanupListener</listener-class> </listener> <listener> <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> </listener> <listener> <listener-class>org.springframework.security.web.session.HttpSessionEventPublisher</listener-class> </listener> <listener> <listener-class>com.wavemaker.runtime.web.listener.WMApplicationListener</listener-class> </listener> <listener> <listener-class>com.wavemaker.runtime.web.listener.WMAppLastListener</listener-class> </listener> <!-- Location of the XML file that defines the root application context. Applied by ContextLoaderListener. --> <context-param> <param-name>contextConfigLocation</param-name> <param-value>/WEB-INF/project-springapp.xml</param-value> </context-param> <context-param> <param-name>contextInitializerClasses</param-name> <param-value>com.wavemaker.runtime.core.props.WMApplicationContextInitializer,com.wavemaker.runtime.security.DefaultBootStrapPropertySourceInitializer</param-value> </context-param> <mime-mapping> <extension>woff2</extension> <mime-type>application/font-woff2</mime-type> </mime-mapping> </web-fragment>