Revision 46542 trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.db/org.gvsig.fmap.dal.db.mdb/src/main/java/org/gvsig/fmap/dal/store/mdb/MDBExplorerFactory.java
MDBExplorerFactory.java | ||
---|---|---|
5 | 5 |
import org.gvsig.fmap.dal.exception.InitializeException; |
6 | 6 |
import org.gvsig.fmap.dal.spi.DataServerExplorerProviderServices; |
7 | 7 |
import org.gvsig.fmap.dal.store.jdbc.JDBCConnectionParameters; |
8 |
import org.gvsig.fmap.dal.store.jdbc.JDBCServerExplorerParameters; |
|
8 |
import org.gvsig.fmap.dal.store.jdbc.JDBCServerExplorerParametersBase;
|
|
9 | 9 |
import org.gvsig.fmap.dal.store.jdbc2.JDBCHelper; |
10 | 10 |
import org.gvsig.fmap.dal.store.jdbc2.JDBCServerExplorer; |
11 | 11 |
import org.gvsig.fmap.dal.store.jdbc2.impl.JDBCServerExplorerFactory; |
... | ... | |
26 | 26 |
DataServerExplorerProviderServices providerServices |
27 | 27 |
) throws InitializeException { |
28 | 28 |
JDBCHelper helper = new MDBHelper((JDBCConnectionParameters) parameters); |
29 |
JDBCServerExplorer server = helper.createServerExplorer( |
|
30 |
(JDBCServerExplorerParameters) parameters, |
|
29 |
JDBCServerExplorer server = helper.createServerExplorer((JDBCServerExplorerParametersBase) parameters, |
|
31 | 30 |
providerServices |
32 | 31 |
); |
33 | 32 |
return server; |
... | ... | |
35 | 34 |
|
36 | 35 |
|
37 | 36 |
@Override |
38 |
public JDBCServerExplorerParameters createParameters() { |
|
39 |
JDBCServerExplorerParameters params = new MDBExplorerParameters(); |
|
37 |
public JDBCServerExplorerParametersBase createParameters() {
|
|
38 |
JDBCServerExplorerParametersBase params = new MDBExplorerParameters();
|
|
40 | 39 |
return params; |
41 | 40 |
} |
42 | 41 |
|
Also available in: Unified diff