Class ClasspathGridShiftLocator
Object
AbstractFactory
ClasspathGridShiftLocator
- All Implemented Interfaces:
Factory
,GridShiftLocator
,Factory
,RegistrableFactory
Default grid shift file locator, looks up grids in the classpath
- Author:
- Andrea Aime - GeoSolutions
-
Field Summary
Fields inherited from class AbstractFactory
hints, MAXIMUM_PRIORITY, MINIMUM_PRIORITY, NORMAL_PRIORITY, priority
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the vendor responsible for creating this factory implementation.locateGrid
(String grid) Locate the specified resource.Methods inherited from class AbstractFactory
addImplementationHints, equals, getImplementationHints, getPriority, hashCode, onDeregistration, onRegistration, toString
-
Constructor Details
-
ClasspathGridShiftLocator
public ClasspathGridShiftLocator()
-
-
Method Details
-
getVendor
Description copied from interface:Factory
Returns the vendor responsible for creating this factory implementation. Many implementations may be available for the same factory interface. Implementations are usually managed by a service registry. -
locateGrid
Description copied from interface:GridShiftLocator
Locate the specified resource.- Specified by:
locateGrid
in interfaceGridShiftLocator
- Parameters:
grid
- the grid name/location- Returns:
- the fully resolved URL of the grid or null, if the resource cannot be located.
-