aboutsummaryrefslogtreecommitdiff
path: root/juick-api/src/main/webapp/WEB-INF/web.xml
blob: c79efd2961db74dc781db4e9ef6c436aa67a1859 (plain) (blame)
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
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="3.0" 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">
    <servlet>
        <servlet-name>Main</servlet-name>
        <servlet-class>com.juick.api.Main</servlet-class>
    </servlet>
    <servlet-mapping>
        <servlet-name>Main</servlet-name>
        <url-pattern>/</url-pattern>
    </servlet-mapping>
    <session-config>
        <session-timeout>
            30
        </session-timeout>
    </session-config>
    <listener>
        <description>APNS/GCM/MPNS module</description>
        <display-name>PushComponent</display-name>
        <listener-class>com.juick.components.PushComponent</listener-class>
    </listener>
    <listener>
        <description>Crossposting module</description>
        <display-name>CrosspostComponent</display-name>
        <listener-class>com.juick.components.CrosspostComponent</listener-class>
    </listener>
    <listener>
        <description>XMPP module</description>
        <display-name>XMPPComponent</display-name>
        <listener-class>com.juick.components.XMPPComponent</listener-class>
    </listener>
</web-app>