gvsig-raster / org.gvsig.raster.wms / trunk / org.gvsig.raster.wms / org.gvsig.raster.wms.io / src / main / java / org / gvsig / raster / wms / io / DefaultWMSIOLibrary.java @ 6289
History | View | Annotate | Download (2.05 KB)
1 | 2484 | nbrodin | /* gvSIG. Geographic Information System of the Valencian Government
|
---|---|---|---|
2 | *
|
||
3 | * Copyright (C) 2007-2008 Infrastructures and Transports Department
|
||
4 | * of the Valencian Government (CIT)
|
||
5 | *
|
||
6 | * This program is free software; you can redistribute it and/or
|
||
7 | * modify it under the terms of the GNU General Public License
|
||
8 | * as published by the Free Software Foundation; either version 2
|
||
9 | * of the License, or (at your option) any later version.
|
||
10 | *
|
||
11 | * This program is distributed in the hope that it will be useful,
|
||
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||
14 | * GNU General Public License for more details.
|
||
15 | *
|
||
16 | * You should have received a copy of the GNU General Public License
|
||
17 | * along with this program; if not, write to the Free Software
|
||
18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||
19 | * MA 02110-1301, USA.
|
||
20 | *
|
||
21 | */
|
||
22 | package org.gvsig.raster.wms.io; |
||
23 | |||
24 | import org.gvsig.i18n.Messages; |
||
25 | import org.gvsig.raster.wms.io.time.DefaultDimension; |
||
26 | import org.gvsig.raster.wms.io.time.TimeDimension; |
||
27 | import org.gvsig.tools.library.AbstractLibrary; |
||
28 | import org.gvsig.tools.library.LibraryException; |
||
29 | /**
|
||
30 | *
|
||
31 | * @author Nacho Brodin (nachobrodin@gmail.com)
|
||
32 | */
|
||
33 | 6289 | fdiaz | public class DefaultWMSIOLibrary extends AbstractLibrary { |
34 | 2484 | nbrodin | |
35 | /*public DefaultWMSIOLibrary() {
|
||
36 | super(DefaultWMSIOLibrary.class,Library.TYPE.IMPL);
|
||
37 | require(ToolsLibrary.class);
|
||
38 | require(DALLibrary.class);
|
||
39 | require(DALFileLibrary.class);
|
||
40 | }*/
|
||
41 | 6289 | fdiaz | |
42 | 2484 | nbrodin | @Override
|
43 | protected void doInitialize() throws LibraryException { |
||
44 | //RasterLibrary.wakeUp();
|
||
45 | WMSLayerNode.registerPersistent(); |
||
46 | RemoteWMSStyle.registerPersistent(); |
||
47 | DefaultDimension.registerPersistent(); |
||
48 | TimeDimension.registerPersistent(); |
||
49 | 6289 | fdiaz | |
50 | 2484 | nbrodin | Messages.addResourceFamily("org.gvsig.raster.wms.io.i18n.text",
|
51 | DefaultWMSIOLibrary.class.getClassLoader(), |
||
52 | 6289 | fdiaz | DefaultWMSIOLibrary.class.getClass().getName()); |
53 | 2484 | nbrodin | } |
54 | |||
55 | @Override
|
||
56 | protected void doPostInitialize() throws LibraryException { |
||
57 | WMSServerExplorerParameters.registerDynClass(); |
||
58 | WMSDataParametersImpl.registerDynClass(); |
||
59 | WMSProvider.register(); |
||
60 | } |
||
61 | } |