From 7f94dc1acc9bd08d246ddeeb5f4bfd0c5e3f76b1 Mon Sep 17 00:00:00 2001 From: antelder Date: Fri, 19 Jun 2009 15:07:46 +0000 Subject: Add a basic way for testcases toset the default http port git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@786535 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/main/java/org/apache/tuscany/sca/http/jetty/JettyServer.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'java/sca/modules/host-jetty/src') diff --git a/java/sca/modules/host-jetty/src/main/java/org/apache/tuscany/sca/http/jetty/JettyServer.java b/java/sca/modules/host-jetty/src/main/java/org/apache/tuscany/sca/http/jetty/JettyServer.java index 780fb5887d..d3115ce6f3 100644 --- a/java/sca/modules/host-jetty/src/main/java/org/apache/tuscany/sca/http/jetty/JettyServer.java +++ b/java/sca/modules/host-jetty/src/main/java/org/apache/tuscany/sca/http/jetty/JettyServer.java @@ -76,7 +76,8 @@ public class JettyServer implements ServletHost { private boolean sendServerVersion; private WorkScheduler workScheduler; - private int defaultPort = 8080; + private int defaultPort = portDefault; + public static int portDefault = 8080; /** * Represents a port and the server that serves it. -- cgit v1.2.3