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: *****************************************************************************/package org.nanocontainer.testmodel;
09:
10: public class WebServerConfigComp implements WebServerConfig {
11:
12: private String host;
13: private int port;
14:
15: public WebServerConfigComp(String host, int port) {
16: this .host = host;
17: this .port = port;
18: }
19:
20: public String getHost() {
21: return host;
22: }
23:
24: public int getPort() {
25: return port;
26: }
27: }
|