org.geotools.arcsde
Class ArcSDEDataStoreFactory

Object
  extended by ArcSDEDataStoreFactory
All Implemented Interfaces:
DataStoreFactorySpi, Factory

public class ArcSDEDataStoreFactory
extends Object
implements DataStoreFactorySpi

Factory to create DataStores over a live ArcSDE instance.

Author:
Gabriel Roldan, Axios Engineering
Module:
modules/unsupported/arcsde   (gt2-arcsde.jar) (Maven report) (SVN head)

Nested Class Summary
 
Nested classes/interfaces inherited from interface DataStoreFactorySpi
DataStoreFactorySpi.Param
 
Field Summary
static int JSDE_CLIENT_VERSION
           
static int JSDE_VERSION_90
           
static int JSDE_VERSION_91
           
static int JSDE_VERSION_92
           
static int JSDE_VERSION_DUMMY
           
protected static Logger LOGGER
          package's logger
 
Constructor Summary
ArcSDEDataStoreFactory()
          empty constructor
 
Method Summary
 boolean canProcess(Map params)
          DOCUMENT ME!
 DataStore createDataStore(Map params)
          crates an SdeDataSource based on connection parameters holded in params.
 DataStore createNewDataStore(Map map)
          DOCUMENT ME!
 String getDescription()
          A human friendly name for this data source factory
 String getDisplayName()
          Display name for this DataStore Factory
 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 Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOGGER

protected static final Logger LOGGER
package's logger


JSDE_VERSION_DUMMY

public static final int JSDE_VERSION_DUMMY
See Also:
Constant Field Values

JSDE_VERSION_90

public static final int JSDE_VERSION_90
See Also:
Constant Field Values

JSDE_VERSION_91

public static final int JSDE_VERSION_91
See Also:
Constant Field Values

JSDE_VERSION_92

public static final int JSDE_VERSION_92
See Also:
Constant Field Values

JSDE_CLIENT_VERSION

public static int JSDE_CLIENT_VERSION
Constructor Detail

ArcSDEDataStoreFactory

public ArcSDEDataStoreFactory()
empty constructor

Method Detail

createNewDataStore

public DataStore createNewDataStore(Map map)
DOCUMENT ME!

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

createDataStore

public DataStore createDataStore(Map params)
                          throws 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:
IOException - if somthing goes wrong creating the datastore.

getDisplayName

public String getDisplayName()
Display name for this DataStore Factory

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

getDescription

public 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(Map params)
DOCUMENT ME!

Specified by:
canProcess in interface DataStoreFactorySpi
Parameters:
params -
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.

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 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-2008 Geotools. All Rights Reserved.