Created
February 17, 2014 10:54
-
-
Save ArloL/9048530 to your computer and use it in GitHub Desktop.
web.xml snippet showing atmosphere servlet configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<web-app | |
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-app_3_0.xsd" | |
version="3.0"> | |
<servlet> | |
<servlet-name>auctioneer-services</servlet-name> | |
<servlet-class>org.atmosphere.cpr.MeteorServlet</servlet-class> | |
<init-param> | |
<param-name>org.atmosphere.servlet</param-name> | |
<param-value>org.springframework.web.servlet.DispatcherServlet</param-value> | |
</init-param> | |
<init-param> | |
<param-name>contextClass</param-name> | |
<param-value> | |
org.springframework.web.context.support.AnnotationConfigWebApplicationContext | |
</param-value> | |
</init-param> | |
<init-param> | |
<param-name>contextConfigLocation</param-name> | |
<param-value>de.evosec.auctioneer.server.configurations.WebConfiguration</param-value> | |
</init-param> | |
<init-param> | |
<param-name>org.atmosphere.cpr.AtmosphereInterceptor</param-name> | |
<param-value>org.atmosphere.gwt20.server.GwtRpcInterceptor</param-value> | |
</init-param> | |
<init-param> | |
<param-name>org.atmosphere.cpr.broadcasterCacheClass</param-name> | |
<param-value>org.atmosphere.cache.UUIDBroadcasterCache</param-value> | |
</init-param> | |
<load-on-startup>1</load-on-startup> | |
<async-supported>true</async-supported> | |
</servlet> | |
<servlet-mapping> | |
<servlet-name>auctioneer-services</servlet-name> | |
<url-pattern>/api/*</url-pattern> | |
</servlet-mapping> | |
</web-app> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment