Revision 19975 trunk/libraries/libDataSourceDBBaseDrivers/src/org/gvsig/data/datastores/vectorial/db/jdbc/AbstractJDBCDataFeatureCollectionWithFeatureID.java

View differences:

AbstractJDBCDataFeatureCollectionWithFeatureID.java
19 19
public abstract class AbstractJDBCDataFeatureCollectionWithFeatureID extends
20 20
		AbstractJDBCDataFeatureCollection {
21 21

  
22
	protected JDBCStore store;
22 23
	protected Collection featureIDs;
23 24
	protected IFeatureType featureType;
24 25

  
25 26
	protected abstract IFeatureCollection newBaseDataFeatureCollection(JDBCStore store,IFeatureType featureType,String filter,String order);
26 27

  
27
	protected void intilizeFeatureIDs(FeatureManager fm, JDBCStore store, String filter, String order) throws ReadException {
28
	protected void init(FeatureManager fm, JDBCStore store, IFeatureType type, String filter, String order) throws ReadException {
29
		this.store=store;
30
		this.featureType= type;
28 31
		FeatureFilterParser parser = null;
29 32
		IFeature feature;
30 33
		Collection tmpFeatures;
......
128 131
		}
129 132

  
130 133
	}
134

  
135
	public void dispose(){
136
		this.store.deleteObserver(this);
137
		this.store = null;
138
		this.featureType = null;
139
	}
131 140
}

Also available in: Unified diff