svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.compat.cdc / org.gvsig.fmap.dal / org.gvsig.fmap.dal.spi / src / main / java / org / gvsig / fmap / dal / spi / AbstractDataServerExplorer.java @ 44160
History | View | Annotate | Download (1.79 KB)
1 |
package org.gvsig.fmap.dal.spi; |
---|---|
2 |
|
3 |
import java.io.File; |
4 |
import org.gvsig.fmap.dal.DataServerExplorerParameters; |
5 |
import org.gvsig.fmap.dal.DataServerExplorer_v2; |
6 |
import org.gvsig.fmap.dal.DataStore; |
7 |
import org.gvsig.fmap.dal.DataStoreParameters; |
8 |
import org.gvsig.fmap.dal.exception.DataException; |
9 |
import org.gvsig.fmap.dal.SQLBuilder; |
10 |
import org.gvsig.fmap.dal.feature.spi.SQLBuilderBase; |
11 |
import org.gvsig.tools.dispose.impl.AbstractDisposable; |
12 |
import org.gvsig.tools.exception.BaseException; |
13 |
|
14 |
public abstract class AbstractDataServerExplorer extends AbstractDisposable implements DataServerExplorer_v2 { |
15 |
|
16 |
private DataServerExplorerParameters parameters;
|
17 |
private final DataServerExplorerProviderServices providerServices; |
18 |
|
19 |
protected AbstractDataServerExplorer(DataServerExplorerParameters parameters, DataServerExplorerProviderServices providerServices) {
|
20 |
this.parameters = parameters;
|
21 |
this.providerServices = providerServices;
|
22 |
} |
23 |
|
24 |
public DataServerExplorerProviderServices getServerExplorerProviderServices() {
|
25 |
return this.providerServices; |
26 |
} |
27 |
|
28 |
@Override
|
29 |
public DataServerExplorerParameters getParameters() {
|
30 |
return this.parameters; |
31 |
} |
32 |
|
33 |
@Override
|
34 |
protected void doDispose() throws BaseException { |
35 |
this.parameters = null; |
36 |
} |
37 |
|
38 |
@Override
|
39 |
public DataStoreParameters get(String name) throws DataException { |
40 |
return null; |
41 |
} |
42 |
|
43 |
@Deprecated
|
44 |
@Override
|
45 |
public File getResourcePath(DataStore dataStore, String resourceName) throws DataException { |
46 |
return null; |
47 |
} |
48 |
|
49 |
@Override
|
50 |
public DataResource getResource(DataStore dataStore, String resourceName) throws DataException { |
51 |
return null; |
52 |
} |
53 |
|
54 |
@Override
|
55 |
public SQLBuilder createSQLBuilder() {
|
56 |
return new SQLBuilderBase(); |
57 |
} |
58 |
|
59 |
} |