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.internal.oracle.ui;
18:
19: import java.io.Serializable;
20: import java.net.URL;
21: import java.util.Map;
22:
23: import net.refractions.udig.catalog.ServiceExtension2;
24: import net.refractions.udig.catalog.internal.oracle.OracleServiceExtension;
25: import net.refractions.udig.catalog.ui.AbstractUDIGConnectionFactory;
26:
27: public class OracleSpatialConnectionFactory extends
28: AbstractUDIGConnectionFactory {
29:
30: @Override
31: protected Map<String, Serializable> doCreateConnectionParameters(
32: Object context) {
33: return null;
34: }
35:
36: @Override
37: protected URL doCreateConnectionURL(Object context) {
38: return null;
39: }
40:
41: @Override
42: protected boolean doOtherChecks(Object context) {
43: return false;
44: }
45:
46: @Override
47: protected ServiceExtension2 getServiceExtension() {
48: return new OracleServiceExtension();
49: }
50:
51: }
|