And I am reminded I need to write up our face2face meeting notes :-(

Martin & Justin if I can ask your help in assembling a sensible 
migration strategy (email first then wiki):
- provide alternate lookup code (for each of SPI, Spring, Equinox)
- make sure code makes use of injection
- set up a default look up mechanism (single class?) as a fallback to 
make the library easy to use for users
- deprecate *all* factory finder methods and place them in an ext/ so 
that our code is forced to use injection
- ...

Jody
> I just had an opportunity to look at the factories. I suggest to deprecate 
> the 
> two following classes:
>
>      org.geotools.style.StyleFactoryFinder
>      org.geotools.filter.FilterFactoryFinder
>
> and replace them by
>
>      org.geotools.factory.CommonFactoryFinder
>
> Rational: peoples recently expressed on the mailing list the wish to reduce 
> the 
> number of FactoryFinder and consolidate at least some of them in a single 
> class. 
> The above-cited StyleFactoryFinder and FilterFactoryFinder contains only one 
> public method, createStyleFactory and createFilterFactory respectively. I 
> suggest to put those two methods (as well as some additional methods we may 
> discover later in other FactoryFinder) in this CommonFactoryFinder.
>
> Note: I'm not sure either about the class name (CommonFactoryFinder) or 
> package 
> (org.geotools.factory). Other proposals are welcome.
>
> This CommonFactoryFinder would uses the Hints mechanism.
>
>       Martin
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Geotools-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-devel
>   


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to