Revision 29391 branches/v2_0_0_prep/libraries/libFMap_dal/src/org/gvsig/fmap/dal/spi/DataManagerProviderServices.java

View differences:

DataManagerProviderServices.java
1
/* 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

  
23
/*
24
 * AUTHORS (In addition to CIT):
25
 * 2008 IVER T.I. S.A.   {{Task}}
26
 */
27

  
1 28
package org.gvsig.fmap.dal.spi;
2 29

  
3 30
import org.gvsig.fmap.dal.DataManager;
......
9 36
import org.gvsig.fmap.dal.feature.FeatureType;
10 37
import org.gvsig.fmap.dal.feature.spi.index.FeatureIndexProviderServices;
11 38

  
39

  
40
/**
41
 * Inteface of DataManager of Services for data providers
42
 *
43
 * @author jmvivo
44
 *
45
 */
12 46
public interface DataManagerProviderServices extends DataManager {
13 47

  
14 48
	public void registerStoreProvider(String name,
15 49
			Class dataStoreProviderClass,
16 50
			Class parametersClass);
17 51

  
18

  
52
	/**
53
	 * Register a new provider of data server explorer
54
	 *
55
	 * FIXME
56
	 *
57
	 * @param <code>name</code> of de provider
58
	 * @param dataSourceClass
59
	 *            class of provider
60
	 * @param parametersClass
61
	 *            parameters class of provider
62
	 */
19 63
	public void registerExplorerProvider(String name,
20 64
			Class dataSourceClass, Class parametersClass);
21 65

  
......
40 84

  
41 85
	/**
42 86
	 * Returns a DataIndexProvider compatible with the attribute data type.
43
	 * @param store associated FeatureStore
44
	 * @param type associated FeatureType
45
	 * @param attr associated FeatureAttributeDescriptor
46
	 * @param providerNames array of strings containing one or more preferred providers
87
	 *
88
	 * @param store
89
	 *            associated FeatureStore
90
	 * @param type
91
	 *            associated FeatureType
92
	 * @param attr
93
	 *            associated FeatureAttributeDescriptor
94
	 * @param providerNames
95
	 *            array of strings containing one or more preferred providers
47 96
	 * @return empty DataIndexProvider, initialized and ready to use
48 97
	 */
49 98
	public FeatureIndexProviderServices createFeatureIndexProvider(String name, FeatureStore store, FeatureType type,

Also available in: Unified diff