public abstract class AbstractEpsgMediator extends AbstractAuthorityMediator
DataSource docs needed:
AbstractAuthorityMediator.WorkerSafeRunnable| Modifier and Type | Field and Description |
|---|---|
protected DataSource |
datasource |
static int |
PRIORITY
The default priority level for this factory.
|
factorieshints, MAXIMUM_PRIORITY, MINIMUM_PRIORITY, NORMAL_PRIORITY, priority| Constructor and Description |
|---|
AbstractEpsgMediator()
No argument constructor - must not fail for factory finder registration.
|
AbstractEpsgMediator(Hints hints) |
AbstractEpsgMediator(Hints hints,
DataSource datasource) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose()
Clean up the object pool of workers (since we are shutting down).
|
Citation |
getAuthority()
The authority body of the objects this factory provides.
|
protected Connection |
getConnection() |
InternationalString |
getDescriptionText(String code)
Gets a description of the object corresponding to a code.
|
boolean |
isConnected()
True if this mediator is currently connected to one or more workers.
|
activateWorker, 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, destroyWorker, getAuthorityCodes, getBackingStoreDescription, getIdentifiedObjectFinder, makeWorker, passivateWorker, toKey, trimAuthority, validateWorkercreateEngineeringCRS, createExtent, createOperationMethod, createParameterDescriptor, noSuchAuthorityCodeensureNonNull, getVendoraddImplementationHints, equals, getImplementationHints, getPriority, hashCode, onDeregistration, onRegistration, toStringcreateEngineeringCRSgetImplementationHintspublic static final int PRIORITY
protected DataSource datasource
public AbstractEpsgMediator()
public AbstractEpsgMediator(Hints hints) throws FactoryException
FactoryExceptionpublic AbstractEpsgMediator(Hints hints, DataSource datasource)
protected Connection getConnection() throws SQLException
SQLExceptionpublic Citation getAuthority()
AbstractAuthorityMediatorgetAuthority in interface AuthorityFactorygetAuthority in class AbstractAuthorityMediatorpublic void dispose()
throws FactoryException
AbstractAuthorityMediatorSubclasses may wish to override this method if they have their own resources to clean up (like a database connection). If you do this please remember to call super.dispose().
dispose in class AbstractAuthorityMediatorFactoryException - if an error occured while disposing the factory.public boolean isConnected()
AbstractAuthorityMediatorisConnected in class AbstractAuthorityMediatorpublic InternationalString getDescriptionText(String code) throws FactoryException
getDescriptionText in interface AuthorityFactorygetDescriptionText in class AbstractAuthorityMediatorcode - Value allocated by authority.null if the object corresponding to the
specified code has no description.NoSuchAuthorityCodeException - if the specified code was not found.FactoryException - if the query failed for some other reason.Copyright © 1996–2019 Geotools. All rights reserved.