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

<!-- =============================================================== -->
<!-- Attach the "ee9" 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-ee9" class="org.eclipse.jetty.deploy.providers.ContextProvider">
          <Set name="EnvironmentName">ee9</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="defaultsDescriptor">
            <Property>
              <Name>jetty.deploy.defaultsDescriptorPath</Name>
              <Deprecated>jetty.deploy.defaultsDescriptor</Deprecated>
              <Default>
                <Property name="jetty.home" default="." />/etc/webdefault-ee9.xml
              </Default>
            </Property>
          </Set>
          <Set name="deferInitialScan" property="jetty.deploy.deferInitialScan"/>
          <Set name="scanInterval" property="jetty.deploy.scanInterval"/>
          <Set name="extractWars" property="jetty.deploy.extractWars" />
          <Set name="parentLoaderPriority" property="jetty.deploy.parentLoaderPriority" />
          <Set name="configurationClasses" property="jetty.deploy.configurationClasses" />
          <Get name="properties">
            <Put name="jetty.deploy.containerScanJarPattern">
              <Property name="jetty.deploy.containerScanJarPattern">
                <Default>.*/jetty-jakarta-servlet-api-[^/]*\.jar$|.*jakarta.servlet.jsp.jstl-.*\.jar$</Default>
              </Property>
            </Put>
            <Put name="jetty.deploy.webInfScanJarPattern">
              <Property name="jetty.deploy.webInfScanJarPattern"/>
            </Put>
            <Put name="jetty.deploy.servletContainerInitializerExclusionPattern">
              <Property name="jetty.deploy.servletContainerInitializerExclusionPattern"/>
            </Put>
            <Put name="jetty.deploy.servletContainerInitializerOrder">
              <Property name="jetty.deploy.servletContainerInitializerOrder"/>
            </Put>
          </Get>
        </New>
      </Arg>
    </Call>
  </Ref>
</Configure>
