Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: UDIG 1.1.RC1
-
Fix Version/s: UDIG 1.2.0
-
Component/s: framework
-
Labels:None
Description
Implement the IGeoResouces so that they cache the information from the last loading locally and until resolve is called for a feature source or a datastore (or their "real" object) then use the cached information. When the "real" object is loaded then update the cached information with the real information. This should work the vast majority of the time since Services change fairly slowly. It will definately speed up browsing through the catalog and doing searches on the local catalog.
Issue Links
- is duplicated by
-
UDIG-1033
Test that catalog is lazy loading wrt titles at least.
-
- ServiceInfo
- members
- member GeoResourceInfo title / icon / description / bounds?
And then issuing a REPLACE event when the real information is available.... ie when we are CONNECTED.
Proposal: Wraper Placeholder for NOTCONNECTED IService
This is the approach used by GeoTools and the existing external catalogs; the IService handle will return its own IServiceInfo, members including their own IGeoResourceInfo ... and when resolve is called for something other then this information they aquire the real resource and then delegate to it.
It is assumed a catalog REPLACE event goes out at this time causing layers etc to subst the fake wrapper for the real thing....