001 /*****************************************************************************
002 * Copyright (C) NanoContainer Organization. All rights reserved. *
003 * ------------------------------------------------------------------------- *
004 * The software in this package is published under the terms of the BSD *
005 * style license a copy of which has been included with this distribution in *
006 * the LICENSE.txt file. *
007 * *
008 * Original code by Aslak Hellesoy and Paul Hammant *
009 *****************************************************************************/
010
011 package org.nanocontainer.testmodel;
012
013 public class DefaultWebServerConfig implements WebServerConfig {
014
015 private int port = 80;
016
017 public String getHost() {
018 return "*";
019 }
020
021 public int getPort() {
022 return port;
023 }
024
025 public void setPort(int port) {
026 this.port = port;
027 }
028
029 }