| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| Delegate |
|
| 1.0;1 |
| 1 | /*$Id: Delegate.java,v 1.1 2004/05/24 17:44:29 nw Exp $ | |
| 2 | * Created on 06-Feb-2004 | |
| 3 | * | |
| 4 | * Copyright (C) AstroGrid. All rights reserved. | |
| 5 | * | |
| 6 | * This software is published under the terms of the AstroGrid | |
| 7 | * Software License version 1.2, a copy of which has been included | |
| 8 | * with this distribution in the LICENSE.txt file. | |
| 9 | * | |
| 10 | **/ | |
| 11 | package org.astrogrid.common.delegate; | |
| 12 | /** Interface common to all delegate objects. | |
| 13 | * @author Noel Winstanley nw@jb.man.ac.uk 06-Feb-2004 | |
| 14 | * | |
| 15 | */ | |
| 16 | public interface Delegate { | |
| 17 | /** pass this as the target endpoint to return a 'test' delegate */ | |
| 18 | public final static String TEST_URI = "urn:test"; | |
| 19 | // public abstract void setTargetEndPoint(String targetEndPoint); | |
| 20 | /** | |
| 21 | * access the endpoint this delegate will communicate with | |
| 22 | * */ | |
| 23 | public abstract String getTargetEndPoint(); | |
| 24 | /** configure the timeout for communications to the service */ | |
| 25 | public abstract void setTimeout(int timeout); | |
| 26 | /** retreive the timeout value for communications to the service */ | |
| 27 | public abstract int getTimeout(); | |
| 28 | } | |
| 29 | /* | |
| 30 | $Log: Delegate.java,v $ | |
| 31 | Revision 1.1 2004/05/24 17:44:29 nw | |
| 32 | common baseclass and interface for delegates. | |
| 33 | ||
| 34 | Revision 1.2.8.1 2004/05/21 12:00:22 nw | |
| 35 | merged in latest changes from HEAD. start of refactoring effort | |
| 36 | ||
| 37 | Revision 1.3 2004/05/04 16:16:13 pah | |
| 38 | some checkstyle cleanup | |
| 39 | ||
| 40 | Revision 1.2 2004/03/23 12:51:25 pah | |
| 41 | result of merge of app_pah_147 | |
| 42 | ||
| 43 | Revision 1.1.2.1 2004/03/17 17:51:53 pah | |
| 44 | refactored the factory to follow noels model | |
| 45 | ||
| 46 | Revision 1.4 2004/03/15 01:30:29 nw | |
| 47 | jazzed up javadoc | |
| 48 | ||
| 49 | Revision 1.3 2004/02/27 00:46:03 nw | |
| 50 | merged branch nww-itn05-bz#91 | |
| 51 | ||
| 52 | Revision 1.2.2.1 2004/02/17 12:25:38 nw | |
| 53 | improved javadocs for classes | |
| 54 | ||
| 55 | Revision 1.2 2004/02/09 11:41:44 nw | |
| 56 | merged in branch nww-it05-bz#85 | |
| 57 | ||
| 58 | Revision 1.1.2.1 2004/02/06 18:11:21 nw | |
| 59 | reworked the delegate classes | |
| 60 | - introduced wrapper class and interfaces, plus separate impl | |
| 61 | package with abstract base class. moved delegate classes into the correct | |
| 62 | packages, deprecated old methods / classes. fitted in castor object model | |
| 63 | | |
| 64 | */ |