Class AbstractDataSourceFactorySpi
Object
AbstractDataSourceFactorySpi
- All Implemented Interfaces:
- DataSourceFactorySpi,- Factory
- Direct Known Subclasses:
- DBCPDataSourceFactory,- JNDIDataSourceFactory
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleancanProcess(Map<String, ?> params) Test to see if this factory is suitable for processing the data pointed to by the params map.Default Implementation abuses the naming convention.Returns the implementation hints.Methods inherited from class Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface DataSourceFactorySpicreateDataSource, createNewDataSource, getDescription, getParametersInfo, isAvailable
- 
Constructor Details- 
AbstractDataSourceFactorySpipublic AbstractDataSourceFactorySpi()
 
- 
- 
Method Details- 
getDisplayNameDefault Implementation abuses the naming convention.Will return Foofororg.geotools.data.foo.FooFactory.- Specified by:
- getDisplayNamein interface- DataSourceFactorySpi
- Returns:
- return display name based on class name
 
- 
canProcessDescription copied from interface:DataSourceFactorySpiTest to see if this factory is suitable for processing the data pointed to by the params map.If this data source requires a number of parameters then this mehtod should check that they are all present and that they are all valid. - Specified by:
- canProcessin interface- DataSourceFactorySpi
- Parameters:
- params- The full set of information needed to construct a live data source.
- Returns:
- booean true if and only if this factory can process the resource indicated by the param set and all the required params are pressent.
 
- 
getImplementationHintsReturns the implementation hints. The default implementation returns en empty map.- Specified by:
- getImplementationHintsin interface- Factory
- Returns:
- The map of hints, or an {@linkplain java.util.Collections.emptyMap() empty map} if none.
 
 
-