| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<web-app |
| 3 |
xmlns="http://xmlns.jcp.org/xml/ns/javaee" |
| 4 |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 5 |
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd" |
| 6 |
metadata-complete="true" |
| 7 |
version="3.1"> |
| 8 |
|
| 9 |
<display-name>Test JMX WebApp</display-name> |
| 10 |
|
| 11 |
<context-param> |
| 12 |
<param-name>org.eclipse.jetty.server.context.ManagedAttributes</param-name> |
| 13 |
<param-value> |
| 14 |
org.eclipse.jetty.test.jmx.common, |
| 15 |
org.eclipse.jetty.test.jmx.ping, |
| 16 |
org.eclipse.jetty.test.jmx.echo, |
| 17 |
Ping |
| 18 |
</param-value> |
| 19 |
</context-param> |
| 20 |
|
| 21 |
<servlet> |
| 22 |
<servlet-name>Ping</servlet-name> |
| 23 |
<servlet-class>org.eclipse.jetty.test.jmx.PingServlet</servlet-class> |
| 24 |
<load-on-startup>1</load-on-startup> |
| 25 |
</servlet> |
| 26 |
|
| 27 |
<servlet-mapping> |
| 28 |
<servlet-name>Ping</servlet-name> |
| 29 |
<url-pattern>/ping</url-pattern> |
| 30 |
</servlet-mapping> |
| 31 |
|
| 32 |
</web-app> |
| 33 |
|
| 34 |
|