Revision 30067 branches/v2_0_0_prep/extensions/extGPE-gvSIG/src/org/gvsig/fmap/dal/store/gpe/DALGPELibrary.java
DALGPELibrary.java | ||
---|---|---|
2 | 2 |
* |
3 | 3 |
* Copyright (C) 2007-2008 Infrastructures and Transports Department |
4 | 4 |
* of the Valencian Government (CIT) |
5 |
*
|
|
5 |
* |
|
6 | 6 |
* This program is free software; you can redistribute it and/or |
7 | 7 |
* modify it under the terms of the GNU General Public License |
8 | 8 |
* as published by the Free Software Foundation; either version 2 |
9 | 9 |
* of the License, or (at your option) any later version. |
10 |
*
|
|
10 |
* |
|
11 | 11 |
* This program is distributed in the hope that it will be useful, |
12 | 12 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
13 | 13 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
14 | 14 |
* GNU General Public License for more details. |
15 |
*
|
|
15 |
* |
|
16 | 16 |
* You should have received a copy of the GNU General Public License |
17 | 17 |
* along with this program; if not, write to the Free Software |
18 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
|
18 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
|
19 | 19 |
* MA 02110-1301, USA. |
20 |
*
|
|
20 |
* |
|
21 | 21 |
*/ |
22 | 22 |
|
23 | 23 |
/* |
... | ... | |
28 | 28 |
package org.gvsig.fmap.dal.store.gpe; |
29 | 29 |
|
30 | 30 |
import org.gvsig.fmap.dal.DALFileLocator; |
31 |
import org.gvsig.fmap.dal.DALLibrary; |
|
32 | 31 |
import org.gvsig.fmap.dal.DALLocator; |
33 | 32 |
import org.gvsig.fmap.dal.spi.DataManagerProviderServices; |
34 | 33 |
import org.gvsig.gpe.gml.impl.DefaultGmlLibrary; |
... | ... | |
46 | 45 |
private DefaultKmlLibrary kmlLib = null; |
47 | 46 |
private DefaultGPELibrary gpeLib = null; |
48 | 47 |
private DefaultXmlLibrary xmlLib = null; |
49 |
|
|
48 |
|
|
50 | 49 |
public void initialize() throws ReferenceNotRegisteredException { |
51 | 50 |
super.initialize(); |
52 | 51 |
|
53 |
DALLibrary dal = new DALLibrary(); |
|
54 |
dal.initialize(); |
|
55 |
|
|
56 | 52 |
gpeLib = new DefaultGPELibrary(); |
57 | 53 |
gpeLib.initialize(); |
58 |
|
|
54 |
|
|
59 | 55 |
xmlLib = new DefaultXmlLibrary(); |
60 | 56 |
xmlLib.initialize(); |
61 |
|
|
57 |
|
|
62 | 58 |
gmlLib = new DefaultGmlLibrary(); |
63 | 59 |
gmlLib.initialize(); |
64 |
|
|
60 |
|
|
65 | 61 |
kmlLib = new DefaultKmlLibrary(); |
66 | 62 |
kmlLib.initialize(); |
67 | 63 |
} |
68 | 64 |
|
69 |
public void postInitialize() throws ReferenceNotRegisteredException {
|
|
65 |
public void postInitialize() throws ReferenceNotRegisteredException { |
|
70 | 66 |
super.postInitialize(); |
71 | 67 |
|
68 |
dal.postInitialize(); |
|
69 |
dalImpl.postInitialize(); |
|
70 |
|
|
72 | 71 |
gpeLib.postInitialize(); |
73 | 72 |
xmlLib.postInitialize(); |
74 | 73 |
gmlLib.postInitialize(); |
75 | 74 |
kmlLib.postInitialize(); |
76 |
|
|
75 |
|
|
77 | 76 |
GPEStoreParameters.registerDynClass(); |
78 | 77 |
GPEStoreProvider.registerDynClass(); |
79 | 78 |
|
... | ... | |
85 | 84 |
dataman.registerStoreProvider(GPEStoreProvider.NAME, |
86 | 85 |
GPEStoreProvider.class, GPEStoreParameters.class); |
87 | 86 |
} |
88 |
|
|
87 |
|
|
89 | 88 |
DALFileLocator.getFilesystemServerExplorerManager().registerProvider( |
90 | 89 |
GPEStoreProvider.NAME, GPEStoreProvider.DESCRIPTION, |
91 | 90 |
GPEFileSystemServerProvider.class); |
Also available in: Unified diff