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 WebServerConfigBean implements WebServerConfig {
12:
13: private int port;
14: private String host;
15:
16: public void setHost(String host) {
17: this .host = host;
18: }
19:
20: public void setPort(int port) {
21: this .port = port;
22: }
23:
24: public String getHost() {
25: return host;
26: }
27:
28: public int getPort() {
29: return port;
30: }
31:
32: }
|