01: /*****************************************************************************
02: * Copyright (C) NanoContainer Organization. All rights reserved. *
03: * ------------------------------------------------------------------------- *
04: * The software in this package is published under the terms of the BSD *
05: * style license a copy of which has been included with this distribution in *
06: * the LICENSE.txt file. *
07: * *
08: * Original code by Aslak Hellesoy and Paul Hammant *
09: *****************************************************************************/package org.nanocontainer.testmodel;
10:
11: public class DefaultWebServerConfig implements WebServerConfig {
12:
13: private int port = 80;
14:
15: public String getHost() {
16: return "*";
17: }
18:
19: public int getPort() {
20: return port;
21: }
22:
23: public void setPort(int port) {
24: this.port = port;
25: }
26:
27: }
|