001 /***************************************************************************** 002 * Copyright (C) PicoContainer 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.picocontainer.script.testmodel; 012 013 014 public class WebServerConfigStub implements WebServerConfig { 015 016 private int port; 017 private String host; 018 019 public String getHost() { 020 return host; 021 } 022 023 public int getPort() { 024 return port; 025 } 026 027 }