org.geotools.data.arcsde
Class ArcSDEDataStoreFactory

java.lang.Object
  extended byorg.geotools.data.arcsde.ArcSDEDataStoreFactory
All Implemented Interfaces:
DataStoreFactorySpi, Factory

public class ArcSDEDataStoreFactory
extends java.lang.Object
implements DataStoreFactorySpi

Factory to create DataStores over a live ArcSDE instance.

Version:
$Id: ArcSDEDataStoreFactory.java 18131 2006-02-21 11:11:44Z groldan $
Author:
Gabriel Roldan, Axios Engineering

Nested Class Summary
 
Nested classes inherited from class org.geotools.data.DataStoreFactorySpi
DataStoreFactorySpi.Param
 
Field Summary
protected static java.util.logging.Logger LOGGER
          package's logger
 
Constructor Summary
ArcSDEDataStoreFactory()
          empty constructor
 
Method Summary
 boolean canProcess(java.util.Map params)
          DOCUMENT ME!
 DataStore createDataStore(java.util.Map params)
          crates an SdeDataSource based on connection parameters holded in params.
 DataStore createNewDataStore(java.util.Map map)
          DOCUMENT ME!
 java.lang.String getDescription()
          A human friendly name for this data source factory
 java.lang.String getDisplayName()
          Display name for this DataStore Factory
 java.util.Map getImplementationHints()
          Returns the implementation hints.
 DataStoreFactorySpi.Param[] getParametersInfo()
          DOCUMENT ME!
 boolean isAvailable()
          Test to see if this datastore is available, if it has all the appropriate libraries to construct a datastore.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOGGER

protected static final java.util.logging.Logger LOGGER
package's logger

Constructor Detail

ArcSDEDataStoreFactory

public ArcSDEDataStoreFactory()
empty constructor

Method Detail

createNewDataStore

public DataStore createNewDataStore(java.util.Map map)
DOCUMENT ME!

Specified by:
createNewDataStore in interface DataStoreFactorySpi
Parameters:
map - DOCUMENT ME!
Returns:
DOCUMENT ME!
Throws:
java.lang.UnsupportedOperationException - DOCUMENT ME!

createDataStore

public DataStore createDataStore(java.util.Map params)
                          throws java.io.IOException
crates an SdeDataSource based on connection parameters holded in params.

Expected parameters are:

Specified by:
createDataStore in interface DataStoreFactorySpi
Parameters:
params - connection parameters
Returns:
a new SdeDataStore pointing to the database defined by params
Throws:
java.io.IOException - if somthing goes wrong creating the datastore.

getDisplayName

public java.lang.String getDisplayName()
Display name for this DataStore Factory

Specified by:
getDisplayName in interface DataStoreFactorySpi
Returns:
DOCUMENT ME!

getDescription

public java.lang.String getDescription()
A human friendly name for this data source factory

Specified by:
getDescription in interface DataStoreFactorySpi
Returns:
this factory's description

canProcess

public boolean canProcess(java.util.Map params)
DOCUMENT ME!

Specified by:
canProcess in interface DataStoreFactorySpi
Parameters:
params -
Returns:

isAvailable

public boolean isAvailable()
Test to see if this datastore is available, if it has all the appropriate libraries to construct a datastore.

Specified by:
isAvailable in interface DataStoreFactorySpi
Returns:
true if and only if this factory is available to create DataStores.

getParametersInfo

public DataStoreFactorySpi.Param[] getParametersInfo()
DOCUMENT ME!

Specified by:
getParametersInfo in interface DataStoreFactorySpi
Returns:
DOCUMENT ME!

getImplementationHints

public java.util.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 © GeoTools. All Rights Reserved.