root / trunk / org.gvsig.postgresql / org.gvsig.postgresql.provider / src / main / java / org / gvsig / fmap / dal / store / postgresql / PostgreSQLServerExplorerFactory.java @ 294
History | View | Annotate | Download (1.09 KB)
1 |
package org.gvsig.fmap.dal.store.postgresql; |
---|---|
2 |
|
3 |
import org.gvsig.fmap.dal.DataServerExplorerParameters; |
4 |
import org.gvsig.fmap.dal.exception.InitializeException; |
5 |
import org.gvsig.fmap.dal.spi.AbstractDataServerExplorerFactory; |
6 |
import org.gvsig.fmap.dal.spi.DataServerExplorerProviderServices; |
7 |
|
8 |
public class PostgreSQLServerExplorerFactory extends AbstractDataServerExplorerFactory { |
9 |
|
10 |
public PostgreSQLServerExplorerFactory() {
|
11 |
super(
|
12 |
PostgreSQLLibrary.NAME, |
13 |
"PostgreSQL+PostGIS server"
|
14 |
); |
15 |
} |
16 |
|
17 |
@Override
|
18 |
public PostgreSQLServerExplorer create(
|
19 |
DataServerExplorerParameters parameters, |
20 |
DataServerExplorerProviderServices providerServices |
21 |
) throws InitializeException {
|
22 |
PostgreSQLServerExplorer explorer = new PostgreSQLServerExplorer(
|
23 |
(PostgreSQLServerExplorerParameters) parameters, |
24 |
providerServices |
25 |
); |
26 |
return explorer;
|
27 |
} |
28 |
|
29 |
@Override
|
30 |
public PostgreSQLServerExplorerParameters createParameters() {
|
31 |
return new PostgreSQLServerExplorerParameters(); |
32 |
} |
33 |
|
34 |
} |