I just found some evidence that this stuff is supposed to work - from 
FactoryCreator (a subclass of FactoryRegistry):
>         /*
>          * No implementation hint provided. Search the first 
> implementation
>          * accepting a Hints argument. No-args constructor will be 
> ignored.
>          * Note: all Factory objects should be fully constructed by now,
>          * since the super-class has already iterated over all factories.
>          */
The mystery gets deeper.
Jody

> I'm trying to create a factory finder for the unsupported geometry 
> module with referencing->GeometryFactoryFinder.java that uses the 
> factory service registry stuff in metadata.
>
> I can't seem to get it to use the Hints I've setup for finding and 
> creating a factory.  It only seems to find the factory if it has a 
> constructor with no parameters, but that is useless because the factory 
> needs a CRS and other things.  Does anyone have any idea of how the 
> Hints are suppose to be used or setup?  I've tried creating a 
> constructor that uses Hints to build the factory, but that isn't found.  
> Only the blank constructor is.  Does anyone know how Hints are meant to 
> be used properly?
>
>   


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to