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

View differences:

DataManagerProviderServices.java
1 1
package org.gvsig.fmap.dal.spi;
2 2

  
3 3
import org.gvsig.fmap.dal.DataManager;
4
import org.gvsig.fmap.dal.DataStoreParameters;
5 4
import org.gvsig.fmap.dal.DataTypes;
6 5
import org.gvsig.fmap.dal.exception.InitializeException;
7 6
import org.gvsig.fmap.dal.exception.ProviderNotRegisteredException;
......
23 22

  
24 23
    /**
25 24
     * Registers a new feature index provider.
26
     * 
25
     *
27 26
     * @param name
28 27
     * 			provider's name
29
     * 
28
     *
30 29
     * @param description
31 30
     * 			provider's description
32
     * 
31
     *
33 32
     * @param clazz
34 33
     * 			a custom FeatureIndexProvider implementation
35
     * 
34
     *
36 35
     * @param dataType
37
     * 			one of the constants in {@link DataTypes}. This means that this provider 
36
     * 			one of the constants in {@link DataTypes}. This means that this provider
38 37
     * 			can build indexes based on attributes of this type.
39 38
     */
40 39
	public void registerFeatureIndexProvider(String name, String description, Class clazz, int dataType);
......
52 51
			FeatureAttributeDescriptor attr) throws InitializeException,
53 52
			ProviderNotRegisteredException;
54 53

  
55
	/**
56
	 * 
57
	 * Creates and returns an not initialized instance of DataStoreProvider
58
	 * given the name. <br>
59
	 * <br>
60
	 * This is used for {@link DataServerExplorerProvider} in operations like
61
	 * {@link DataServerExplorerProvider#add(DataStoreParameters, boolean)},
62
	 * {@link DataServerExplorerProvider#remove(DataStoreParameters)}
63
	 * 
64
	 * 
65
	 * @param String
66
	 *            provider's name
67
	 *            
68
	 * @throws InitializeException
69
	 * 
70
	 * @throws ProviderNotRegisteredException
71
	 **/
72
	public DataStoreProvider createStoreProvider(String providerName)
73
			throws InitializeException, ProviderNotRegisteredException;
54

  
74 55
}

Also available in: Unified diff