Revision 385 trunk/org.gvsig.postgresql/org.gvsig.postgresql.provider/src/main/java/org/gvsig/postgresql/dal/PostgreSQLLibrary.java
PostgreSQLLibrary.java | ||
---|---|---|
51 | 51 |
); |
52 | 52 |
DBHelper.registerParametersDefinition( |
53 | 53 |
NAME + "ServerExplorerParameters", |
54 |
PostgreSQLExplorerParameters.class, |
|
54 |
PostgreSQLServerExplorerParameters.class,
|
|
55 | 55 |
dataman.getResourceAsStream(this, NAME + "Parameters.xml") |
56 | 56 |
); |
57 | 57 |
// DBHelper.registerParametersDefinition( |
... | ... | |
85 | 85 |
} |
86 | 86 |
|
87 | 87 |
if (!dataman.getServerExplorerRegister().exits(NAME)) { |
88 |
dataman.registerServerExplorerFactory(new PostgreSQLExplorerFactory()); |
|
88 |
dataman.registerServerExplorerFactory(new PostgreSQLServerExplorerFactory());
|
|
89 | 89 |
} |
90 |
|
|
91 |
// Por compatibilidad con gvSIG 2.3 registramos otra vez la factoria con |
|
92 |
// el nombre que tenia antes. |
|
93 |
if (!dataman.getServerExplorerRegister().exits("PostgreSQLExplorer")) { |
|
94 |
dataman.registerServerExplorerFactory(new PostgreSQLServerExplorerFactory("PostgreSQLExplorer")); |
|
95 |
} |
|
96 |
|
|
90 | 97 |
if (ex != null) { |
91 | 98 |
throw ex; |
92 | 99 |
} |
Also available in: Unified diff