-
Notifications
You must be signed in to change notification settings - Fork 33
/
web.xml
60 lines (48 loc) · 1.95 KB
/
web.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<?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_2_5.xsd"
version="2.5">
<servlet>
<servlet-name>samplePetriApp</servlet-name>
<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
<init-param>
<param-name>contextConfigLocation</param-name>
<param-value>/WEB-INF/applicationContext.xml</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>samplePetriApp</servlet-name>
<url-pattern>/</url-pattern>
</servlet-mapping>
<servlet>
<servlet-name>SpecsSynchronizerServlet</servlet-name>
<servlet-class>com.wixpress.petri.SpecsSynchronizerServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>SpecsSynchronizerServlet</servlet-name>
<url-pattern>/sync-specs</url-pattern>
</servlet-mapping>
<servlet>
<servlet-name>koboshiRegistry</servlet-name>
<servlet-class>com.wix.hoopoe.koboshi.servlet.ResilientCacheRegistryEndpoint</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>koboshiRegistry</servlet-name>
<url-pattern>/koboshi/*</url-pattern>
</servlet-mapping>
<filter>
<filter-name>laboratoryFilter</filter-name>
<filter-class>com.wixpress.petri.laboratory.http.LaboratoryFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>laboratoryFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<context-param>
<param-name>laboratoryConfig</param-name>
<param-value>/WEB-INF/laboratory.properties</param-value>
</context-param>
</web-app>