2021-09-04 21:12:10 +07:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "https://www.eclipse.org/jetty/configure_10_0.dtd">
|
2014-10-13 10:05:19 +07:00
|
|
|
|
2021-09-04 21:12:10 +07:00
|
|
|
<!-- =============================================================== -->
|
|
|
|
<!-- Create the deployment manager -->
|
|
|
|
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
|
|
|
<!-- The deplyment manager handles the lifecycle of deploying web -->
|
|
|
|
<!-- applications. Apps are provided by instances of the -->
|
|
|
|
<!-- AppProvider interface. -->
|
|
|
|
<!-- =============================================================== -->
|
2014-10-13 10:05:19 +07:00
|
|
|
<Configure id="Server" class="org.eclipse.jetty.server.Server">
|
|
|
|
|
2016-07-08 15:40:24 +07:00
|
|
|
<Call name="addBean">
|
|
|
|
<Arg>
|
|
|
|
<New id="DeploymentManager" class="org.eclipse.jetty.deploy.DeploymentManager">
|
|
|
|
<Set name="contexts">
|
|
|
|
<Ref refid="Contexts" />
|
|
|
|
</Set>
|
|
|
|
<Call name="setContextAttribute">
|
|
|
|
<Arg>org.eclipse.jetty.server.webapp.ContainerIncludeJarPattern</Arg>
|
|
|
|
<Arg>.*/[^/]*servlet-api-[^/]*\.jar$|.*/javax.servlet.jsp.jstl-.*\.jar$|.*/org.apache.taglibs.taglibs-standard-impl-.*\.jar$</Arg>
|
|
|
|
</Call>
|
2014-10-13 10:05:19 +07:00
|
|
|
|
2016-07-08 15:40:24 +07:00
|
|
|
<!-- Add a customize step to the deployment lifecycle -->
|
|
|
|
<!-- uncomment and replace DebugBinding with your extended AppLifeCycle.Binding class
|
|
|
|
<Call name="insertLifeCycleNode">
|
|
|
|
<Arg>deployed</Arg>
|
|
|
|
<Arg>starting</Arg>
|
|
|
|
<Arg>customise</Arg>
|
|
|
|
</Call>
|
|
|
|
<Call name="addLifeCycleBinding">
|
|
|
|
<Arg>
|
|
|
|
<New class="org.eclipse.jetty.deploy.bindings.DebugBinding">
|
|
|
|
<Arg>customise</Arg>
|
|
|
|
</New>
|
|
|
|
</Arg>
|
|
|
|
</Call> -->
|
2021-09-04 21:12:10 +07:00
|
|
|
|
2016-07-08 15:40:24 +07:00
|
|
|
</New>
|
|
|
|
</Arg>
|
|
|
|
</Call>
|
2020-10-31 05:53:36 +07:00
|
|
|
</Configure>
|