This change does not apply to SIS since we will not port ReferencingFactoryFinder
.
Command line:
svn diff --extensions "--unified --ignore-space-change --ignore-all-space --ignore-eol-style" -r25049:25050 https://svn.osgeo.org/geotools/trunk/modules/library/referencing/src/main/java/org/geotools/referencing/factory/epsg/ThreadedEpsgFactory.java
Revision 25049 | Revision 25050 |
---|---|
import org.geotools.factory.Hints;
import org.geotools.factory.FactoryRegistry;
import org.geotools.metadata.iso.citation.Citations;
import org.geotools.referencing.FactoryFinder;
import org.geotools.referencing.factory.FactoryGroup;
import org.geotools.referencing.factory.AbstractAuthorityFactory;
import org.geotools.referencing.factory.DeferredAuthorityFactory; |
import org.geotools.factory.Hints;
import org.geotools.factory.FactoryRegistry;
import org.geotools.metadata.iso.citation.Citations;
import org.geotools.referencing.ReferencingFactoryFinder;
import org.geotools.referencing.factory.FactoryGroup;
import org.geotools.referencing.factory.AbstractAuthorityFactory;
import org.geotools.referencing.factory.DeferredAuthorityFactory; |
/**
* Base class for EPSG factories to be registered in {@link FactoryFinder}. Various subclasses
* are defined for different database backend (Access, PostgreSQL, HSQL, <cite>etc.</cite>).
* The main purpose of this class is to {@linkplain #createDataSource create a data source}
* connecting to the EPSG database, and an appropriate {@link FactoryUsingSQL} instance capable |
/**
* Base class for EPSG factories to be registered in {@link ReferencingFactoryFinder}. Various subclasses
* are defined for different database backend (Access, PostgreSQL, HSQL, <cite>etc.</cite>).
* The main purpose of this class is to {@linkplain #createDataSource create a data source}
* connecting to the EPSG database, and an appropriate {@link FactoryUsingSQL} instance capable |
* to speak that database syntax.
* <p>
* Users should not creates instance of this class directly. They should invoke one of
* <code>{@linkplain FactoryFinder}.getFooAuthorityFactory("EPSG")</code> methods instead.
* <p>
* Subclasses should override the following methods:
* <ul> |
* to speak that database syntax.
* <p>
* Users should not creates instance of this class directly. They should invoke one of
* <code>{@linkplain ReferencingFactoryFinder}.getFooAuthorityFactory("EPSG")</code> methods instead.
* <p>
* Subclasses should override the following methods:
* <ul> |
/**
* Set the data source for the EPSG database. If an other EPSG database was already in use,
* it will be disconnected. Users should not invoke this method on the factory returned by
* {@link FactoryFinder}, since it could have a system-wide effect.
*
* @param datasource The new datasource.
* @throws SQLException if an error occured. |
/**
* Set the data source for the EPSG database. If an other EPSG database was already in use,
* it will be disconnected. Users should not invoke this method on the factory returned by
* {@link ReferencingFactoryFinder}, since it could have a system-wide effect.
*
* @param datasource The new datasource.
* @throws SQLException if an error occured. |