Revision 30067 branches/v2_0_0_prep/libraries/libFMap_dalindex/src/org/gvsig/fmap/dal/index/spatial/gt2/Gt2IndexLibrary.java
Gt2IndexLibrary.java | ||
---|---|---|
28 | 28 |
|
29 | 29 |
package org.gvsig.fmap.dal.index.spatial.gt2; |
30 | 30 |
|
31 |
import org.gvsig.fmap.dal.DALLibrary; |
|
32 | 31 |
import org.gvsig.fmap.dal.DALLocator; |
33 | 32 |
import org.gvsig.fmap.dal.DataTypes; |
34 | 33 |
import org.gvsig.fmap.dal.spi.DataManagerProviderServices; |
... | ... | |
41 | 40 |
public void initialize() throws ReferenceNotRegisteredException { |
42 | 41 |
super.initialize(); |
43 | 42 |
|
44 |
DALLibrary dal = new DALLibrary(); |
|
45 |
dal.initialize(); |
|
43 |
} |
|
44 |
|
|
45 |
public void postInitialize() throws ReferenceNotRegisteredException { |
|
46 | 46 |
DataManagerProviderServices man = (DataManagerProviderServices) DALLocator.getDataManager(); |
47 | 47 |
|
48 | 48 |
if (!man.getFeatureIndexProviders().contains(GT2Quadtree.NAME)) { |
... | ... | |
50 | 50 |
GT2Quadtree.class, DataTypes.GEOMETRY); |
51 | 51 |
} |
52 | 52 |
} |
53 |
|
|
54 |
public void postInitialize() throws ReferenceNotRegisteredException { |
|
55 |
// TODO: log library postInitialization |
|
56 |
// Nothing to check |
|
57 |
} |
|
58 | 53 |
} |
59 | 54 |
|
Also available in: Unified diff