1 | <?xml version="1.0" encoding="UTF-8"?> |
---|
2 | |
---|
3 | <!-- |
---|
4 | /** |
---|
5 | * MailArchiver is an application that provides services for storing and managing e-mail messages through a Web Services SOAP interface. |
---|
6 | * Copyright (C) 2012 Marcio Andre Scholl Levien and Fernando Alberto Reuter Wendt and Jose Ronaldo Nogueira Fonseca Junior |
---|
7 | * |
---|
8 | * This program is free software: you can redistribute it and/or modify |
---|
9 | * it under the terms of the GNU Affero General Public License as |
---|
10 | * published by the Free Software Foundation, either version 3 of the |
---|
11 | * License, or (at your option) any later version. |
---|
12 | * |
---|
13 | * This program is distributed in the hope that it will be useful, |
---|
14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
16 | * GNU Affero General Public License for more details. |
---|
17 | * |
---|
18 | * You should have received a copy of the GNU Affero General Public License |
---|
19 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
---|
20 | */ |
---|
21 | |
---|
22 | /******************************************************************************\ |
---|
23 | * |
---|
24 | * This product was developed by |
---|
25 | * |
---|
26 | * SERVIÃO FEDERAL DE PROCESSAMENTO DE DADOS (SERPRO), |
---|
27 | * |
---|
28 | * a government company established under Brazilian law (5.615/70), |
---|
29 | * at Department of Development of Porto Alegre. |
---|
30 | * |
---|
31 | \******************************************************************************/ |
---|
32 | --> |
---|
33 | |
---|
34 | <web-app> |
---|
35 | |
---|
36 | <context-param> |
---|
37 | <description>Vaadin production mode</description> |
---|
38 | <param-name>productionMode</param-name> |
---|
39 | <param-value>true</param-value> |
---|
40 | </context-param> |
---|
41 | |
---|
42 | <context-param> |
---|
43 | <param-name>locatorFactorySelector</param-name> |
---|
44 | <param-value>classpath:/serpro/mailarchiver/config/beanRefContext.xml</param-value> |
---|
45 | </context-param> |
---|
46 | |
---|
47 | <context-param> |
---|
48 | <param-name>parentContextKey</param-name> |
---|
49 | <param-value>global.context</param-value> |
---|
50 | </context-param> |
---|
51 | |
---|
52 | <context-param> |
---|
53 | <param-name>contextConfigLocation</param-name> |
---|
54 | <param-value>WEB-INF/context-beans.xml</param-value> |
---|
55 | </context-param> |
---|
56 | |
---|
57 | <listener> |
---|
58 | <listener-class> |
---|
59 | org.springframework.web.context.ContextLoaderListener |
---|
60 | </listener-class> |
---|
61 | </listener> |
---|
62 | |
---|
63 | <listener> |
---|
64 | <listener-class> |
---|
65 | org.springframework.web.context.request.RequestContextListener |
---|
66 | </listener-class> |
---|
67 | </listener> |
---|
68 | |
---|
69 | <servlet> |
---|
70 | <servlet-name>adminServlet</servlet-name> |
---|
71 | <servlet-class> |
---|
72 | <!-- com.vaadin.terminal.gwt.server.ApplicationServlet --> |
---|
73 | org.vaadin.artur.icepush.ICEPushServlet |
---|
74 | </servlet-class> |
---|
75 | <init-param> |
---|
76 | <param-name>application</param-name> |
---|
77 | <param-value>serpro.mailarchiver.view.admin.AdminConsoleApp</param-value> |
---|
78 | </init-param> |
---|
79 | <init-param> |
---|
80 | <param-name>widgetset</param-name> |
---|
81 | <param-value>serpro.mailarchiver.config.MailArchiverWidgetSet</param-value> |
---|
82 | </init-param> |
---|
83 | </servlet> |
---|
84 | |
---|
85 | <servlet-mapping> |
---|
86 | <servlet-name>adminServlet</servlet-name> |
---|
87 | <url-pattern>/*</url-pattern> |
---|
88 | </servlet-mapping> |
---|
89 | |
---|
90 | </web-app> |
---|