| 1 |
<?xml version="1.0"?><!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "https://www.eclipse.org/jetty/configure_10_0.dtd"> |
| 2 |
|
| 3 |
<!-- =============================================================== --> |
| 4 |
<!-- Attach the "ee9" environment app deployment provider --> |
| 5 |
<!-- =============================================================== --> |
| 6 |
<Configure id="Server" class="org.eclipse.jetty.server.Server"> |
| 7 |
<Call id="DeploymentManager" name="getBean"> |
| 8 |
<Arg><Call class="java.lang.Class" name="forName"><Arg>org.eclipse.jetty.deploy.DeploymentManager</Arg></Call></Arg> |
| 9 |
</Call> |
| 10 |
<Ref refid="Environment"> |
| 11 |
<Call name="setAttribute"> |
| 12 |
<Arg>contextHandlerClass</Arg> |
| 13 |
<Arg><Property name="contextHandlerClass"/></Arg> |
| 14 |
</Call> |
| 15 |
</Ref> |
| 16 |
<Ref refid="DeploymentManager"> |
| 17 |
<Call name="addAppProvider"> |
| 18 |
<Arg> |
| 19 |
<New id="WebAppProvider-ee9" class="org.eclipse.jetty.deploy.providers.ContextProvider"> |
| 20 |
<Set name="EnvironmentName">ee9</Set> |
| 21 |
<Set name="monitoredDirName"> |
| 22 |
<Call name="resolvePath" class="org.eclipse.jetty.xml.XmlConfiguration"> |
| 23 |
<Arg> |
| 24 |
<Property name="jetty.base" /> |
| 25 |
</Arg> |
| 26 |
<Arg> |
| 27 |
<Property name="jetty.deploy.monitoredDir" default="webapps" /> |
| 28 |
</Arg> |
| 29 |
</Call> |
| 30 |
</Set> |
| 31 |
<Set name="defaultsDescriptor"> |
| 32 |
<Property> |
| 33 |
<Name>jetty.deploy.defaultsDescriptorPath</Name> |
| 34 |
<Deprecated>jetty.deploy.defaultsDescriptor</Deprecated> |
| 35 |
<Default> |
| 36 |
<Property name="jetty.home" default="." />/etc/webdefault-ee9.xml |
| 37 |
</Default> |
| 38 |
</Property> |
| 39 |
</Set> |
| 40 |
<Set name="deferInitialScan" property="jetty.deploy.deferInitialScan"/> |
| 41 |
<Set name="scanInterval" property="jetty.deploy.scanInterval"/> |
| 42 |
<Set name="extractWars" property="jetty.deploy.extractWars" /> |
| 43 |
<Set name="parentLoaderPriority" property="jetty.deploy.parentLoaderPriority" /> |
| 44 |
<Set name="configurationClasses" property="jetty.deploy.configurationClasses" /> |
| 45 |
<Get name="properties"> |
| 46 |
<Put name="jetty.deploy.containerScanJarPattern"> |
| 47 |
<Property name="jetty.deploy.containerScanJarPattern"> |
| 48 |
<Default>.*/jetty-jakarta-servlet-api-[^/]*\.jar$|.*jakarta.servlet.jsp.jstl-.*\.jar$</Default> |
| 49 |
</Property> |
| 50 |
</Put> |
| 51 |
<Put name="jetty.deploy.webInfScanJarPattern"> |
| 52 |
<Property name="jetty.deploy.webInfScanJarPattern"/> |
| 53 |
</Put> |
| 54 |
<Put name="jetty.deploy.servletContainerInitializerExclusionPattern"> |
| 55 |
<Property name="jetty.deploy.servletContainerInitializerExclusionPattern"/> |
| 56 |
</Put> |
| 57 |
<Put name="jetty.deploy.servletContainerInitializerOrder"> |
| 58 |
<Property name="jetty.deploy.servletContainerInitializerOrder"/> |
| 59 |
</Put> |
| 60 |
</Get> |
| 61 |
</New> |
| 62 |
</Arg> |
| 63 |
</Call> |
| 64 |
</Ref> |
| 65 |
</Configure> |