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 *****************************************************************************/ 009 010 package org.nanocontainer.testmodel; 011 012 013 public class WebServerConfigComp implements WebServerConfig { 014 015 private String host; 016 private int port; 017 018 public WebServerConfigComp(String host, int port) { 019 this.host = host; 020 this.port = port; 021 } 022 023 public String getHost() { 024 return host; 025 } 026 027 public int getPort() { 028 return port; 029 } 030 }