View Javadoc

1   /*$Id: Protocol.java,v 1.1 2004/07/26 12:07:38 nw Exp $
2    * Created on 16-Jun-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.applications.parameter.protocol;
12  
13  import java.net.URI;
14  
15  /*** Factory interface for creating {@link org.astrogrid.applications.parameter.protocol.ExternalValue} instances.
16   * @see org.astrogrid.applications.parameter.protocol.DefaultProtocolLibrary
17   * @author Noel Winstanley nw@jb.man.ac.uk 16-Jun-2004
18   *
19   */
20  public interface Protocol {
21      /*** access the name of the protocol this object provides support for 
22       * @return name of the protocl this factory can build instances for.*/
23      public String getProtocolName();
24      /*** create a new indirectParameterValue for the passed in URI 
25       * @param reference the uri to build an instance for.
26       * @return a handler for this uri.
27       * @throws InaccessibleExternalValueException*/
28      public ExternalValue createIndirectValue(URI reference) throws InaccessibleExternalValueException;
29  }
30  
31  
32  /* 
33  $Log: Protocol.java,v $
34  Revision 1.1  2004/07/26 12:07:38  nw
35  renamed indirect package to protocol,
36  renamed classes and methods within protocol package
37  javadocs
38  
39  Revision 1.2  2004/07/01 11:16:22  nw
40  merged in branch
41  nww-itn06-componentization
42  
43  Revision 1.1.2.2  2004/07/01 01:42:46  nw
44  final version, before merge
45  
46  Revision 1.1.2.1  2004/06/17 09:21:23  nw
47  finished all major functionality additions to core
48   
49  */