diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2009-06-19 15:07:46 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2009-06-19 15:07:46 +0000 |
commit | 7f94dc1acc9bd08d246ddeeb5f4bfd0c5e3f76b1 (patch) | |
tree | 2cb540ff46ca0a6ebb23b47106ce872652528347 /java/sca | |
parent | 2782abb707ece271996d56577b010feef569e4c6 (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 'java/sca')
-rw-r--r-- | java/sca/modules/host-jetty/src/main/java/org/apache/tuscany/sca/http/jetty/JettyServer.java | 3 |
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. |