Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 5a4fce4105abcd7fc7aa233de889585a95e0b3db (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<?xml version="1.0"?>
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure.dtd">

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

    <!-- =========================================================== -->
    <!-- Configure the deployment manager                            -->
    <!-- =========================================================== -->
    <Call name="addBean">
      <Arg>
        <New id="DeploymentManager" class="org.eclipse.jetty.deploy.DeploymentManager">
          <Set name="useStandardBindings">false</Set>
          <Set name="lifeCycleBindings">
            <Array type="org.eclipse.jetty.deploy.AppLifeCycle$Binding">
              <Item>
                <New class="org.eclipse.jetty.osgi.boot.OSGiDeployer"/>
              </Item>
              <Item>
               <New class="org.eclipse.jetty.deploy.bindings.StandardStarter"/>
              </Item>
              <Item>
                <New class="org.eclipse.jetty.deploy.bindings.StandardStopper"/>
              </Item>
              <Item>
              <New class="org.eclipse.jetty.osgi.boot.OSGiUndeployer"/>
              </Item>
            </Array>
          </Set>
          <Set name="contexts">
            <Ref id="Contexts" />
          </Set>
          <Call name="setContextAttribute">
            <Arg>org.eclipse.jetty.server.webapp.ContainerIncludeJarPattern</Arg>
            <Arg>.*/jsp-api-[^/]*\.jar$|.*/jsp-[^/]*\.jar$</Arg>
          </Call>
          <!-- Providers of OSGi Apps -->
          <!-- Call name="addAppProvider" -->
            <!-- Arg -->
              <!-- New class="org.eclipse.jetty.osgi.boot.OSGiAppProvider" -->
              <!--
                <Set name="defaultsDescriptor"><Property name="jetty.home" default="."/>/etc/webdefault.xml</Set>
              -->
              <!--
                <Set name="scanInterval">5</Set>
                <Set name="contextXmlDir"><Property name="jetty.home" default="." />/contexts</Set>
                -->
                <!-- comma separated list of bundle symbolic names that contain custom tag libraries (*.tld files) -->
                <!-- if those bundles don't exist or can't be loaded no errors or warning will be issued!          -->
                <!-- This default value plugs in the tld files of the reference implementation of JSF              -->
                <!--
                 <Set name="tldBundles"><Property name="org.eclipse.jetty.osgi.tldbundles" default="javax.faces.jsf-impl" /></Set>
              </New>
            </Arg>
          </Call>
          -->
        </New>
      </Arg>
    </Call>

</Configure>

Back to the top