summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2009-06-19 15:07:46 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2009-06-19 15:07:46 +0000
commit7f94dc1acc9bd08d246ddeeb5f4bfd0c5e3f76b1 (patch)
tree2cb540ff46ca0a6ebb23b47106ce872652528347
parent2782abb707ece271996d56577b010feef569e4c6 (diff)
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
Diffstat (limited to '')
-rw-r--r--java/sca/modules/host-jetty/src/main/java/org/apache/tuscany/sca/http/jetty/JettyServer.java3
1 files changed, 2 insertions, 1 deletions
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.