1 /*$Id: MetadataService.java,v 1.8 2006/03/17 17:50:58 clq2 Exp $
2 * Created on 21-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.manager;
12
13 import java.net.URL;
14 import org.w3c.dom.Document;
15 import org.astrogrid.applications.CeaException;
16 import org.astrogrid.registry.beans.v10.wsinterface.VOResources;
17
18 /*** Interface into the meta-data / decscription / registry entries part of a cea server.
19 * - base of all description for this server. This is now the sole place where interactions that either set or get registry metadata about the services implemented by CEA.
20 * @author Noel Winstanley nw@jb.man.ac.uk 21-May-2004
21 * @author pharriso@eso.org 02-Jun-2005 - merged in the former ProvidesVODescription interface - no reason for them to be separate
22 *
23 */
24 public interface MetadataService {
25
26 /*** return the entry to lodge in the registry
27 *
28 * @return xmldocument of a VODescription
29 * @throws CeaException
30 */
31 public Document returnRegistryEntry() throws CeaException;
32
33 /***
34 * access the vodescription for this server.
35 * @return the object model of the VO description for this service
36 */
37 public VOResources getVODescription() throws Exception;
38
39 /***
40 * Get a URL leading to the template document for the
41 * service and application registration.
42 */
43 public URL getRegistrationTemplate();
44
45 }
46
47
48 /*
49 $Log: MetadataService.java,v $
50 Revision 1.8 2006/03/17 17:50:58 clq2
51 gtr_1489_cea correted version
52
53 Revision 1.6 2006/03/07 21:45:26 clq2
54 gtr_1489_cea
55
56 Revision 1.3.38.2 2005/12/22 10:13:26 gtr
57 I removed unused methods.
58
59 Revision 1.3.38.1 2005/12/21 14:44:35 gtr
60 Changed to make the registration template available through the InitServlet.
61
62 Revision 1.3 2005/07/05 08:27:00 clq2
63 paul's 559b and 559c for wo/apps and jes
64
65 Revision 1.2.172.1 2005/06/09 08:47:32 pah
66 result of merging branch cea_pah_559b into HEAD
67
68 Revision 1.2.158.2 2005/06/03 16:01:48 pah
69 first try at getting commandline execution log bz#1058
70
71 Revision 1.2.158.1 2005/06/02 14:57:28 pah
72 merge the ProvidesVODescription interface into the MetadataService interface
73
74 Revision 1.2 2004/07/01 11:16:22 nw
75 merged in branch
76 nww-itn06-componentization
77
78 Revision 1.1.2.2 2004/07/01 01:42:46 nw
79 final version, before merge
80
81 Revision 1.1.2.1 2004/06/17 09:21:23 nw
82 finished all major functionality additions to core
83
84 Revision 1.1.2.1 2004/06/14 08:56:58 nw
85 factored applications into sub-projects,
86 got packaging of wars to work again
87
88 Revision 1.1.2.1 2004/05/28 10:23:10 nw
89 checked in early, broken version - but it builds and tests (fail)
90
91 */