1 /*$Id: ApplicationDescriptionLibrary.java,v 1.4 2005/01/23 12:52:26 jdt Exp $
2 * Created on 25-May-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.description;
12 import org.astrogrid.applications.description.exception.ApplicationDescriptionNotFoundException;
13 /*** A container for {@link org.astrogrid.applications.description.ApplicationDescription} instances
14 * <p>
15 *
16 * @author Noel Winstanley nw@jb.man.ac.uk 25-May-2004
17 *
18 */
19 public interface ApplicationDescriptionLibrary {
20 /*** retrieve a named description from the library
21 * @param name the name of the application description to retreive
22 * @return the description for this applicaiton.
23 * @throws ApplicationDescriptionNotFoundException if the name is not present in the library.*/
24 public abstract ApplicationDescription getDescription(String name) throws ApplicationDescriptionNotFoundException;
25 /*** list names of all application descriptons in the library
26 * @return array of names (may be 0-length)*/
27 public abstract String[] getApplicationNames();
28 }
29 /*
30 $Log: ApplicationDescriptionLibrary.java,v $
31 Revision 1.4 2005/01/23 12:52:26 jdt
32 merge from cea_jdt_902
33
34 Revision 1.3.102.1 2005/01/22 13:56:46 jdt
35 typo in comment
36
37 Revision 1.3 2004/07/26 00:57:46 nw
38 javadoc
39
40 Revision 1.2 2004/07/01 11:16:22 nw
41 merged in branch
42 nww-itn06-componentization
43
44 Revision 1.1.2.2 2004/07/01 01:42:46 nw
45 final version, before merge
46
47 Revision 1.1.2.1 2004/06/14 08:56:58 nw
48 factored applications into sub-projects,
49 got packaging of wars to work again
50
51 Revision 1.1.2.1 2004/05/28 10:23:10 nw
52 checked in early, broken version - but it builds and tests (fail)
53
54 */