efd70d09de0ae0377d792edc1fb78c2e88374ec9
[utils] / mythtv / war / src / webapp / WEB-INF / web.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <web-app version="2.5" 
3         xmlns="http://java.sun.com/xml/ns/javaee" 
4         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
5         xsi:schemaLocation="http://java.sun.com/xml/ns/javaee 
6         http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
7
8     <listener>
9         <listener-class>org.wamblee.mythtv.Application</listener-class>
10     </listener>
11     
12     <persistence-context-ref>
13         <persistence-context-ref-name>persistence/mythtv</persistence-context-ref-name>
14     </persistence-context-ref>
15     
16     <resource-ref>
17         <res-ref-name>MythtvConnectionFactory</res-ref-name>
18         <res-type>javax.jms.ConnectionFactory</res-type>
19         <res-auth>Container</res-auth>
20         <res-sharing-scope>Shareable</res-sharing-scope>
21     </resource-ref>
22     
23     <message-destination-ref>
24         <message-destination-ref-name>MythtvTimer</message-destination-ref-name>
25         <message-destination-type>javax.jms.Queue</message-destination-type>
26         <message-destination-usage>Produces</message-destination-usage>
27         <message-destination-link>InternalBootstrapQueue</message-destination-link>
28     </message-destination-ref>
29    
30 </web-app>