Okay I figured it out ... wow. Abstract classes everywhere.
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.
interface AuthorityFactory2 {
public IdentifiedObjectFinder getIdentifiedObjectFinder( final
Class/*<? extends IdentifiedObject>*/ type) throws FactoryException;
}
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 am going to go crawl into a corner and whimper for the rest of the
weekend. The joy of abstract classes.
Jody
> Hi Martin ... I am looking at test cases that expect an
> AbstractAuthorityFactory - which has a public method
> getIdentifiedObjectFinder( class ). This method is not part of the
> formal GeoAPI interfaces and has been ignored by me up to this point.
>
> What is this construct used for?
> Jody
>
> -------------------------------------------------------------------------
> 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
>
-------------------------------------------------------------------------
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