Hi all,

I'm looking to propose a new extension point in ResourcePool.  The long and
short of it is, the ResourcePool attempts to instantiate
GridCoverageReaders and ImageInputStreams by analyzing the input object
passed to it.  ImageInputStreams in particular advertise an "inputClass",
which is used to match the class type of the input object.

The ResourcePool currently makes a single attempt to determine if the input
object is a String that represents a File URL.  If so, it creates a new
File object and uses that as the input.  There is currently no way to
define custom input objects that may align with readers that require
specialized input classes.

I've created a draft proposal on Gist and was hoping to start a
conversation before formally making the proposal.  Any feedback would
be appreciated.

https://gist.github.com/joshfix/d5458221192fe6f678f37e5a225954cd

-- 
Josh Fix
Systems Architect
Planet Federal
[email protected]
+1 321.444.0412
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to