65 |
65 |
import org.gvsig.fmap.dal.feature.spi.FeatureStoreProvider;
|
66 |
66 |
import org.gvsig.fmap.dal.feature.spi.FeatureStoreProviderServices;
|
67 |
67 |
import org.gvsig.fmap.dal.feature.spi.cache.FeatureCacheProvider;
|
|
68 |
import org.gvsig.fmap.dal.resource.ResourceAction;
|
|
69 |
import org.gvsig.fmap.dal.resource.ResourceParameters;
|
|
70 |
import org.gvsig.fmap.dal.resource.exception.AccessResourceException;
|
|
71 |
import org.gvsig.fmap.dal.resource.exception.PrepareResourceException;
|
|
72 |
import org.gvsig.fmap.dal.resource.exception.ResourceException;
|
|
73 |
import org.gvsig.fmap.dal.resource.exception.ResourceExecuteException;
|
|
74 |
import org.gvsig.fmap.dal.resource.exception.ResourceNotifyChangesException;
|
|
75 |
import org.gvsig.fmap.dal.resource.exception.ResourceNotifyCloseException;
|
|
76 |
import org.gvsig.fmap.dal.resource.exception.ResourceNotifyDisposeException;
|
|
77 |
import org.gvsig.fmap.dal.resource.exception.ResourceNotifyOpenException;
|
|
78 |
import org.gvsig.fmap.dal.resource.spi.ResourceConsumer;
|
68 |
79 |
import org.gvsig.fmap.dal.resource.spi.ResourceProvider;
|
69 |
80 |
import org.gvsig.fmap.geom.Geometry;
|
70 |
81 |
import org.gvsig.fmap.geom.GeometryLocator;
|
... | ... | |
103 |
114 |
|
104 |
115 |
protected ArrayList<String> oidsCache=new ArrayList<String>();
|
105 |
116 |
|
106 |
|
|
107 |
117 |
public AbstractFeatureCacheProvider() {
|
108 |
118 |
super();
|
109 |
119 |
this.featureStores = new HashMap();
|
110 |
120 |
this.envelopeManagers = new HashMap();
|
|
121 |
|
111 |
122 |
}
|
112 |
123 |
|
113 |
124 |
public void apply(
|
... | ... | |
385 |
396 |
}
|
386 |
397 |
|
387 |
398 |
public void dispose() {
|
388 |
|
// TODO Auto-generated method stub
|
389 |
|
|
|
399 |
try {
|
|
400 |
featureStoreProvider.dispose();
|
|
401 |
((DefaultFeatureStore)getFeatureStore(0d)).getProvider().dispose();
|
|
402 |
} catch (DataException e) {
|
|
403 |
e.printStackTrace();
|
|
404 |
}
|
390 |
405 |
}
|
391 |
406 |
|
392 |
407 |
public Iterator getChilds() {
|
... | ... | |
524 |
539 |
}
|
525 |
540 |
|
526 |
541 |
public ResourceProvider getResource() {
|
527 |
|
// ((DefaultFeatureStore)getFeatureStore(0d)).getProvider().getResource()
|
528 |
|
// TODO Auto-generated method stub
|
529 |
542 |
return null;
|
530 |
543 |
}
|
531 |
544 |
|