Mercurial > dive4elements > framework
comparison artifact-database/src/main/java/de/intevation/artifactdatabase/rest/Standalone.java @ 46:f2648672c9c4
Removed needless imports.
artifacts/trunk@165 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Thu, 01 Oct 2009 08:51:24 +0000 |
parents | 86d2a843e588 |
children | 4ae4dc99127d |
comparison
equal
deleted
inserted
replaced
45:9449f296cd54 | 46:f2648672c9c4 |
---|---|
57 component.getServers().add(Protocol.HTTP, port); | 57 component.getServers().add(Protocol.HTTP, port); |
58 } | 58 } |
59 | 59 |
60 component.getDefaultHost().attach(app); | 60 component.getDefaultHost().attach(app); |
61 | 61 |
62 logger.info("Starting rest HTTP server on port " + port); | 62 logger.info("Starting rest HTTP server on " |
63 + (listenString != null ? listenString : "*") | |
64 + ":" + port); | |
63 | 65 |
64 try { | 66 try { |
65 component.start(); | 67 component.start(); |
66 } | 68 } |
67 catch (Exception e) { | 69 catch (Exception e) { |