1
2
3
4
5
6
7
8
9
10 package org.astrogrid.applications.http.registry;
11
12 import java.io.IOException;
13 import java.util.Collection;
14 import java.util.HashMap;
15 import java.util.Map;
16
17 /***
18 * Contains stuff likely to be common to all RegistryQueriers...maintains a List
19 * of WebHttpApplications etc
20 *
21 * @author jdt
22 */
23 public abstract class AbstractRegistryQuerier implements RegistryQuerier {
24
25 protected Map applications = new HashMap();
26
27 /***
28 * Returns a list of HttpApplication beans.
29 */
30 public Collection getHttpApplications() throws IOException {
31 return applications.values();
32 }
33
34 }