blob: e917ca908f5f42a9d54a866af19e2ab414bfff3c [file] [log] [blame]
<?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">
<Call name="addLifeCycle">
<Arg>
<New id="DeploymentManager" class="org.eclipse.jetty.deploy.DeploymentManager">
<Set name="contexts">
<Ref id="Contexts" />
</Set>
<Set name="configurationManager">
<New class="org.eclipse.jetty.deploy.support.FileConfigurationManager">
<Set name="file">
<Property name="test.targetdir" default="target" />/xml-configured-jetty.properties
</Set>
</New>
</Set>
<!-- Lifecycle Bindings -->
<Call name="addLifecycleBinding">
<Arg>
<New class="org.eclipse.jetty.deploy.bindings.DefaultDeployer" />
</Arg>
</Call>
<Call name="addLifecycleBinding">
<Arg>
<New class="org.eclipse.jetty.deploy.bindings.DefaultUndeployer" />
</Arg>
</Call>
<Call name="addLifecycleBinding">
<Arg>
<New class="org.eclipse.jetty.deploy.bindings.DefaultStarter" />
</Arg>
</Call>
<Call name="addLifecycleBinding">
<Arg>
<New class="org.eclipse.jetty.deploy.bindings.DefaultStopper" />
</Arg>
</Call>
<!-- Providers of Apps -->
<Call name="addAppProvider">
<Arg>
<New class="org.eclipse.jetty.deploy.providers.ContextsDirAppProvider">
<Set name="contextsDir">
<Property name="test.resourcesdir" default="src/test/resources" />/contexts
</Set>
<Set name="scanInterval">0</Set>
<Set name="recursive">false</Set>
</New>
</Arg>
</Call>
</New>
</Arg>
</Call>
</Configure>