Jody Garnett a écrit :
> I am going to have to define an AuthorityFactory2 (if we obey our
> conventions) documenting the fact that this getIdentifiedObjectFinder
> method is an outstanding change request against GeoAPI.
No, this getIdentifiedObjectFinder is not targeted for GeoAPI! I consider it as
an experimental method. It work, but lets keep it Geotools only in order to get
some experience and see if we can do the work in a better way.
Because it is Geotools only, I don't see the need for a AuthorityFactory2
interface. Lets avoid object / interface explosion in the API.
> Armed with this bit of knowledge I should be able to untangle
> DefaultAuthorityFactory from the assumption that everything it finds is
> an AbstractAuthorityFactory. Please note that DefaultAuthorityFactory
> should end up being a AbstractCachedAuthorityFactory wrapping around
> ManyAuthoritiesFactory at the end of the day.
I would prefer to stick with AbstractAuthorityFactory rather than defining a
new
interface. It is easier to add method or change method signature in a class
(because we can provide default implementation) than interface. And again I
really don't plan to port this method to GeoAPI!
Martin
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel