@SuppressWarnings("unchecked") @Test public void testCreateNewDataStore() { try { dsFactory.createNewDataStore((Map<String, Serializable>) Collections.EMPTY_MAP); fail("Expected UOE as we can't create new datastores"); } catch (UnsupportedOperationException e) { assertTrue(true); } }
public DataStore createNewDataStore(java.util.Map<String, Serializable> map) { throw new UnsupportedOperationException( "ArcSDE DataStore does not support the creation of new databases. " + "This should be done through database's specific tools"); }
ArcSDEDataStoreFactory implements DataStoreFactorySpi { public DataStore createNewDataStore(java.util.Map<String, Serializable> map) { throw new UnsupportedOperationException( "ArcSDE DataStore does not support the creation of new databases. " + "This should be done through database's specific tools"); } }
ArcSDEDataStoreFactory implements DataStoreFactorySpi { public DataStore createNewDataStore(java.util.Map<String, Serializable> map) { throw new UnsupportedOperationException( "ArcSDE DataStore does not support the creation of new databases. " + "This should be done through database's specific tools"); } ArcSDEDataStoreFactory(); }
ArcSDEDataStoreFactory implements DataStoreFactorySpi { public DataStore createNewDataStore(java.util.Map<String, Serializable> map) { throw new UnsupportedOperationException( "ArcSDE DataStore does not support the creation of new databases. " + "This should be done through database's specific tools"); } ArcSDEDataStoreFactory(); DataStore createNewDataStore(java.util.Map<String, Serializable> map); DataStore createDataStore(final Map<String, Serializable> params); String getDisplayName(); String getDescription(); boolean canProcess(Map<String, Serializable> params); boolean isAvailable(); DataStoreFactorySpi.Param[] getParametersInfo(); Map<RenderingHints.Key, ?> getImplementationHints(); static int getSdeClientVersion(); }
ArcSDEDataStoreFactory implements DataStoreFactorySpi { public DataStore createNewDataStore(java.util.Map<String, Serializable> map) { throw new UnsupportedOperationException( "ArcSDE DataStore does not support the creation of new databases. " + "This should be done through database's specific tools"); } ArcSDEDataStoreFactory(); DataStore createNewDataStore(java.util.Map<String, Serializable> map); DataStore createDataStore(final Map<String, Serializable> params); String getDisplayName(); String getDescription(); boolean canProcess(Map<String, Serializable> params); boolean isAvailable(); DataStoreFactorySpi.Param[] getParametersInfo(); Map<RenderingHints.Key, ?> getImplementationHints(); static int getSdeClientVersion(); static final String FACTORY_DESCRIPTION; static final int JSDE_VERSION_DUMMY; static final int JSDE_VERSION_90; static final int JSDE_VERSION_91; static final int JSDE_VERSION_92; static final int JSDE_VERSION_93; static final Param NAMESPACE_PARAM; static final Param DBTYPE_PARAM; static final Param SERVER_PARAM; static final Param PORT_PARAM; static final Param INSTANCE_PARAM; static final Param USER_PARAM; static final Param PASSWORD_PARAM; static final Param MIN_CONNECTIONS_PARAM; static final Param MAX_CONNECTIONS_PARAM; static final Param TIMEOUT_PARAM; static final Param VERSION_PARAM; static final Param ALLOW_NON_SPATIAL_PARAM; }