|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectArcSDEDataStoreFactory
public class ArcSDEDataStoreFactory
Factory to create DataStores over a live ArcSDE instance.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface DataAccessFactory |
---|
DataAccessFactory.Param |
Field Summary | |
---|---|
static String |
FACTORY_DESCRIPTION
friendly factory description |
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 held in params . |
DataStore |
createNewDataStore(Map map)
|
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. |
DataAccessFactory.Param[] |
getParametersInfo()
MetaData about the required Parameters (for createDataStore). |
static int |
getSdeClientVersion()
|
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 |
---|
protected static final Logger LOGGER
public static final String FACTORY_DESCRIPTION
public static final int JSDE_VERSION_DUMMY
public static final int JSDE_VERSION_90
public static final int JSDE_VERSION_91
public static final int JSDE_VERSION_92
Constructor Detail |
---|
public ArcSDEDataStoreFactory()
Method Detail |
---|
public DataStore createNewDataStore(Map map)
createNewDataStore
in interface DataStoreFactorySpi
UnsupportedOperationException
- always as the operation is not supportedDataStoreFactorySpi.createNewDataStore(Map)
public DataStore createDataStore(Map params) throws IOException
params
.
Expected parameters are:
"arcsde"
createDataStore
in interface DataAccessFactory
createDataStore
in interface DataStoreFactorySpi
params
- connection parameters
SdeDataStore
pointing to the database defined by
params
IOException
- if something goes wrong creating the datastore.public String getDisplayName()
getDisplayName
in interface DataAccessFactory
"ArcSDE"
public String getDescription()
getDescription
in interface DataAccessFactory
public boolean canProcess(Map params)
canProcess
in interface DataAccessFactory
params
-
public boolean isAvailable()
isAvailable
in interface DataAccessFactory
public DataAccessFactory.Param[] getParametersInfo()
DataAccessFactory
Interpretation of FeatureDescriptor values:
This should be the same as:
Object params = factory.getParameters();
BeanInfo info = getBeanInfo( params );
return info.getPropertyDescriptors();
getParametersInfo
in interface DataAccessFactory
DataAccessFactory.getParametersInfo()
public Map getImplementationHints()
getImplementationHints
in interface Factory
public static int getSdeClientVersion()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |