1 <?xml version="1.0" encoding="utf-8"?>
4 <display-name>DemosceneMusic</display-name>
5 <description>Database for all demoscene music</description>
8 <description>Listener for context-related events</description>
9 <listener-class>net.pterodactylus.demoscenemusic.core.Core</listener-class>
13 <description>The directory where the files are stored.</description>
14 <param-name>data-directory</param-name>
15 <param-value>/var/lib/demoscene-music/files</param-value>
19 <description>DB Connection</description>
20 <res-ref-name>jdbc/demosceneMusic</res-ref-name>
21 <res-type>javax.sql.DataSource</res-type>
22 <res-auth>Container</res-auth>
26 <servlet-name>StaticServlet</servlet-name>
27 <servlet-class>net.pterodactylus.demoscenemusic.core.StaticServlet</servlet-class>
31 <servlet-name>TemplateServlet</servlet-name>
32 <servlet-class>net.pterodactylus.demoscenemusic.core.TemplateServlet</servlet-class>
34 <param-name>artist</param-name>
35 <param-value>net.pterodactylus.demoscenemusic.page.ArtistPage</param-value>
38 <param-name>artists</param-name>
39 <param-value>net.pterodactylus.demoscenemusic.page.ArtistsPage</param-value>
42 <param-name>index</param-name>
43 <param-value>net.pterodactylus.demoscenemusic.page.IndexPage</param-value>
46 <param-name>login</param-name>
47 <param-value>net.pterodactylus.demoscenemusic.page.LoginPage</param-value>
50 <param-name>logout</param-name>
51 <param-value>net.pterodactylus.demoscenemusic.page.LogoutPage</param-value>
54 <param-name>openid</param-name>
55 <param-value>net.pterodactylus.demoscenemusic.page.OpenIdPage</param-value>
58 <param-name>parties</param-name>
59 <param-value>net.pterodactylus.demoscenemusic.page.PartiesPage</param-value>
62 <param-name>party</param-name>
63 <param-value>net.pterodactylus.demoscenemusic.page.PartyPage</param-value>
66 <param-name>register</param-name>
67 <param-value>net.pterodactylus.demoscenemusic.page.RegisterPage</param-value>
70 <param-name>track</param-name>
71 <param-value>net.pterodactylus.demoscenemusic.page.TrackPage</param-value>
74 <param-name>admin.add-artist</param-name>
75 <param-value>net.pterodactylus.demoscenemusic.page.admin.AddArtistPage</param-value>
78 <param-name>admin.add-group</param-name>
79 <param-value>net.pterodactylus.demoscenemusic.page.admin.AddGroupPage</param-value>
82 <param-name>admin.add-party</param-name>
83 <param-value>net.pterodactylus.demoscenemusic.page.admin.AddPartyPage</param-value>
86 <param-name>admin.add-track</param-name>
87 <param-value>net.pterodactylus.demoscenemusic.page.admin.AddTrackPage</param-value>
90 <param-name>admin.add-derivative</param-name>
91 <param-value>net.pterodactylus.demoscenemusic.page.admin.AddTrackDerivativePage</param-value>
94 <param-name>admin.edit-artist</param-name>
95 <param-value>net.pterodactylus.demoscenemusic.page.admin.EditArtistPage</param-value>
98 <param-name>admin.edit-derivative</param-name>
99 <param-value>net.pterodactylus.demoscenemusic.page.admin.EditDerivativePage</param-value>
102 <param-name>admin.edit-group</param-name>
103 <param-value>net.pterodactylus.demoscenemusic.page.admin.EditGroupPage</param-value>
106 <param-name>admin.edit-party</param-name>
107 <param-value>net.pterodactylus.demoscenemusic.page.admin.EditPartyPage</param-value>
110 <param-name>admin.edit-track</param-name>
111 <param-value>net.pterodactylus.demoscenemusic.page.admin.EditTrackPage</param-value>
114 <param-name>admin.list-artists</param-name>
115 <param-value>net.pterodactylus.demoscenemusic.page.admin.ListArtistsPage</param-value>
118 <param-name>admin.list-groups</param-name>
119 <param-value>net.pterodactylus.demoscenemusic.page.admin.ListGroupsPage</param-value>
122 <param-name>admin.list-parties</param-name>
123 <param-value>net.pterodactylus.demoscenemusic.page.admin.ListPartiesPage</param-value>
125 <load-on-startup>0</load-on-startup>
129 <servlet-name>DownloadServlet</servlet-name>
130 <servlet-class>net.pterodactylus.demoscenemusic.core.DownloadServlet</servlet-class>
134 <servlet-name>StaticServlet</servlet-name>
135 <url-pattern>/static/*</url-pattern>
139 <servlet-name>DownloadServlet</servlet-name>
140 <url-pattern>/download</url-pattern>
144 <servlet-name>TemplateServlet</servlet-name>
145 <url-pattern>/*</url-pattern>