<?xml version="1.0"?><!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "https://jetty.org/configure_10_0.dtd">

<!-- =============================================================== -->
<!-- Attach the "core" environment app deployment provider           -->
<!-- =============================================================== -->
<Configure id="Server" class="org.eclipse.jetty.server.Server">
  <Call id="DeploymentManager" name="getBean">
    <Arg><Call class="java.lang.Class" name="forName"><Arg>org.eclipse.jetty.deploy.DeploymentManager</Arg></Call></Arg>
  </Call>
  <Ref refid="Environment">
    <Call name="setAttribute">
      <Arg>contextHandlerClass</Arg>
      <Arg><Property name="contextHandlerClass"/></Arg>
    </Call>
  </Ref>
  <Ref refid="DeploymentManager">
    <Call name="addAppProvider">
      <Arg>
        <New id="WebAppProvider-core" class="org.eclipse.jetty.deploy.providers.ContextProvider">
          <Set name="EnvironmentName">core</Set>
          <Set name="monitoredDirName">
            <Call name="resolvePath" class="org.eclipse.jetty.xml.XmlConfiguration">
              <Arg>
                <Property name="jetty.base" />
              </Arg>
              <Arg>
                <Property name="jetty.deploy.monitoredDir" default="webapps" />
              </Arg>
            </Call>
          </Set>
          <Set name="deferInitialScan" property="jetty.deploy.deferInitialScan"/>
          <Set name="scanInterval" property="jetty.deploy.scanInterval"/>
        </New>
      </Arg>
    </Call>
  </Ref>
</Configure>
