KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > nanocontainer > testmodel > MockComponent


1 /*****************************************************************************
2  * Copyright (C) NanoContainer Organization. All rights reserved. *
3  * ------------------------------------------------------------------------- *
4  * The software in this package is published under the terms of the BSD *
5  * style license a copy of which has been included with this distribution in *
6  * the LICENSE.txt file. *
7  * *
8  * Original code by Mike Hogan *
9  *****************************************************************************/

10
11
12 package org.nanocontainer.testmodel;
13
14 public interface MockComponent {
15     int getPort();
16
17     void setPort(int port);
18
19     String JavaDoc getServer();
20
21     void setServer(String JavaDoc server);
22
23     void addRegister(Integer JavaDoc i);
24
25     int getNumRegisters();
26
27     boolean hasRegister(int i);
28 }
29
Popular Tags