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 * Original code by Mike Hogan * 009 *****************************************************************************/ 010 011 012 package org.nanocontainer.testmodel; 013 014 public interface MockComponent { 015 int getPort(); 016 017 void setPort(int port); 018 019 String getServer(); 020 021 void setServer(String server); 022 023 void addRegister(Integer i); 024 025 int getNumRegisters(); 026 027 boolean hasRegister(int i); 028 }