01: /*
02: * uDig - User Friendly Desktop Internet GIS client
03: * http://udig.refractions.net
04: * (C) 2004, Refractions Research Inc.
05: *
06: * This library is free software; you can redistribute it and/or
07: * modify it under the terms of the GNU Lesser General Public
08: * License as published by the Free Software Foundation;
09: * version 2.1 of the License.
10: *
11: * This library is distributed in the hope that it will be useful,
12: * but WITHOUT ANY WARRANTY; without even the implied warranty of
13: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14: * Lesser General Public License for more details.
15: *
16: */
17: package net.refractions.udig.catalog.hsql;
18:
19: import java.net.MalformedURLException;
20: import java.net.URL;
21:
22: /**
23: * A catalog service that is backed by an hsql file-based db data store. Features
24: * created in the datastore are persistent.
25: *
26: * @author Amr Alam, Refractions Research
27: *
28: */
29: public class HsqlService {
30:
31: public HsqlService() {
32: super ();
33: }
34:
35: /** service creation key **/
36: public static final String KEY = "filestore"; //$NON-NLS-1$
37:
38: /** special memory service url **/
39: public volatile static URL URL = null;
40: static {
41: try {
42: URL = new URL("http://localhost/scratch"); //$NON-NLS-1$
43: } catch (MalformedURLException e) {
44: e.printStackTrace();
45: }
46: }
47: }
|