Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 2ec2d89db4b1ea723075c40a86f2391bf67d3974 (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
32
<?xml version="1.0"?>
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure_9_3.dtd">

<!-- =============================================================== -->
<!-- Mixin the Jamon Handler                                         -->
<!-- =============================================================== -->

<Configure id="Server" class="org.eclipse.jetty.server.Server">

  <Call name="insertHandler">
    <Arg>
      <New id="JamonHandler" class="com.jamonapi.http.JAMonJettyHandlerNew">
        <Set name="summaryLabels"><Property name="jamon.summaryLabels" /></Set>
      </New>
    </Arg>
  </Call>

  <Ref refid="Contexts">
    <Call name="addHandler">
      <Arg>
        <New class="org.eclipse.jetty.webapp.WebAppContext">
          <Set name="contextPath">/jamon</Set>
          <Set name="war"><Property name="jetty.base" default="."/>/lib/jamon/jamon.war</Set>
          <Set name="extractWAR">true</Set>
          <Set name="copyWebDir">false</Set>
          <Set name="defaultsDescriptor"><Property name="jetty.home" default="."/>/etc/webdefault.xml</Set>
        </New>
      </Arg>
    </Call>
  </Ref>

</Configure>

Back to the top