Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimone Bordet2012-08-06 21:11:39 +0000
committerSimone Bordet2012-08-06 21:12:01 +0000
commit75c2b57f25f13aa6854c10a87771d00e69591659 (patch)
tree5858097c6e46a4ddbf0c9d4198e12fd3036322d7 /jetty-deploy/src/test
parent365f4d8448b327b3b7533d55c3882b49d06a188a (diff)
downloadorg.eclipse.jetty.project-75c2b57f25f13aa6854c10a87771d00e69591659.tar.gz
org.eclipse.jetty.project-75c2b57f25f13aa6854c10a87771d00e69591659.tar.xz
org.eclipse.jetty.project-75c2b57f25f13aa6854c10a87771d00e69591659.zip
Jetty9 - Introduced configure_9_0.dtd to support constructor injection for the <Configure> element.
Also refactored, simplified, and moved to JDK 7 XmlConfiguration code.
Diffstat (limited to 'jetty-deploy/src/test')
-rw-r--r--jetty-deploy/src/test/resources/jetty.xml11
1 files changed, 5 insertions, 6 deletions
diff --git a/jetty-deploy/src/test/resources/jetty.xml b/jetty-deploy/src/test/resources/jetty.xml
index da126ab193..4c1734b87f 100644
--- a/jetty-deploy/src/test/resources/jetty.xml
+++ b/jetty-deploy/src/test/resources/jetty.xml
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
-<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure.dtd">
+<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure_9_0.dtd">
<!-- =============================================================== -->
<!-- Configure the Jetty Server -->
@@ -14,9 +14,8 @@
<!-- =========================================================== -->
<!-- Server Thread Pool -->
<!-- =========================================================== -->
- <Set name="ThreadPool">
- <!-- Default queued blocking threadpool
- -->
+ <Arg name="threadPool">
+ <!-- Default queued blocking threadpool -->
<New class="org.eclipse.jetty.util.thread.QueuedThreadPool">
<Set name="maxThreads">200</Set>
<Set name="minThreads">10</Set>
@@ -28,7 +27,7 @@
<Set name="maximumPoolSize">50</Set>
</New>
-->
- </Set>
+ </Arg>
<!-- =========================================================== -->
<!-- Set connectors -->
@@ -37,10 +36,10 @@
<Call name="addConnector">
<Arg>
<New class="org.eclipse.jetty.server.SelectChannelConnector">
+ <Arg><Ref id="Server" /></Arg>
<Set name="host"></Set>
<Set name="port">0</Set>
<Set name="idleTimeout">300000</Set>
- <Set name="confidentialPort">8443</Set>
</New>
</Arg>
</Call>

Back to the top