public class HsqlDialectEpsgMediator extends AbstractEpsgMediator
AbstractAuthorityMediator.WorkerSafeRunnable
datasource, PRIORITY
factories
MAXIMUM_PRIORITY, MINIMUM_PRIORITY, NORMAL_PRIORITY, priority
Constructor and Description |
---|
HsqlDialectEpsgMediator()
Creates a new instance of this factory.
|
HsqlDialectEpsgMediator(Hints hints)
Creates a new instance of this data source using the specified hints.
|
HsqlDialectEpsgMediator(int priority,
DataSource datasource)
Creates an HsqlDialectEpsgMediator with a 20 min timeout, single worker, and no cache.
|
HsqlDialectEpsgMediator(int priority,
Hints hints,
DataSource datasource) |
Modifier and Type | Method and Description |
---|---|
protected void |
activateWorker(AbstractCachedAuthorityFactory obj)
Reinitialize an instance to be returned by the pool.
|
protected void |
destroyWorker(AbstractCachedAuthorityFactory obj)
Destroys an instance no longer needed by the pool.
|
protected AbstractCachedAuthorityFactory |
makeWorker()
Creates an instance that can be returned by the pool.
|
protected void |
passivateWorker(AbstractCachedAuthorityFactory obj)
Uninitialize an instance to be returned to the pool.
|
protected boolean |
validateWorker(AbstractCachedAuthorityFactory obj)
Ensures that the instance is safe to be returned by the pool.
|
dispose, getAuthority, getConnection, getDescriptionText, isConnected
completeHints, createCartesianCS, createCompoundCRS, createCoordinateOperation, createCoordinateReferenceSystem, createCoordinateSystem, createCoordinateSystemAxis, createCylindricalCS, createDatum, createDerivedCRS, createEllipsoid, createEllipsoidalCS, createEngineeringDatum, createFromCoordinateReferenceSystemCodes, createGeocentricCRS, createGeodeticDatum, createGeographicCRS, createImageCRS, createImageDatum, createObject, createPolarCS, createPrimeMeridian, createProjectedCRS, createSphericalCS, createTemporalCRS, createTemporalDatum, createTimeCS, createUnit, createVerticalCRS, createVerticalCS, createVerticalDatum, createWith, getAuthorityCodes, getBackingStoreDescription, getIdentifiedObjectFinder, toKey, trimAuthority
createEngineeringCRS, createExtent, createOperationMethod, createParameterDescriptor, noSuchAuthorityCode
ensureNonNull, getVendor
addImplementationHints, equals, getImplementationHints, getPriority, hashCode, onDeregistration, onRegistration, toString
createEngineeringCRS
getImplementationHints
public HsqlDialectEpsgMediator() throws FactoryException
FactoryException
public HsqlDialectEpsgMediator(Hints hints) throws FactoryException
FactoryException
public HsqlDialectEpsgMediator(int priority, DataSource datasource)
priority
- datasource
- public HsqlDialectEpsgMediator(int priority, Hints hints, DataSource datasource)
protected void activateWorker(AbstractCachedAuthorityFactory obj) throws Exception
activateWorker
in class AbstractAuthorityMediator
Exception
protected void destroyWorker(AbstractCachedAuthorityFactory obj) throws Exception
destroyWorker
in class AbstractAuthorityMediator
Exception
protected AbstractCachedAuthorityFactory makeWorker() throws Exception
makeWorker
in class AbstractAuthorityMediator
Exception
protected void passivateWorker(AbstractCachedAuthorityFactory obj) throws Exception
passivateWorker
in class AbstractAuthorityMediator
Exception
protected boolean validateWorker(AbstractCachedAuthorityFactory obj)
validateWorker
in class AbstractAuthorityMediator
Copyright © 1996–2019 Geotools. All rights reserved.