org.geotools.data.jdbc.datasource
Class AbstractDataSourceFactorySpi
Object
AbstractDataSourceFactorySpi
- All Implemented Interfaces:
- DataSourceFactorySpi, Factory
- Direct Known Subclasses:
- DBCPDataSourceFactory, JNDIDataSourceFactory
public abstract class AbstractDataSourceFactorySpi
- extends Object
- implements DataSourceFactorySpi
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractDataSourceFactorySpi
public AbstractDataSourceFactorySpi()
getDisplayName
public String getDisplayName()
- Default Implementation abuses the naming convention.
Will return Foo
for org.geotools.data.foo.FooFactory
.
- Specified by:
getDisplayName
in interface DataSourceFactorySpi
- Returns:
- return display name based on class name
canProcess
public boolean canProcess(Map params)
- Description copied from interface:
DataSourceFactorySpi
- Test 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:
canProcess
in 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.
getImplementationHints
public Map getImplementationHints()
- Returns the implementation hints. The default implementation returns en empty map.
- Specified by:
getImplementationHints
in interface Factory
- Returns:
- The map of hints, or an empty map
if none.
Copyright © 1996-2010 Geotools. All Rights Reserved.