[fdo-internals] Provider registry...

Robert Fortin robert.fortin at autodesk.com
Mon Apr 21 17:14:24 EDT 2008


Jason,

Interesting idea.

FDO has a mechanism to register/deregister a provider.  This actually add/remove the entries in the providers.xml by calling an API.  This can be done as part of the installation of the provider. That's what we have been doing in the past where each provider was registering itself.  If for some reason the registery mechanism changes (which actually happened in the past) it is hidden by the API.  Have you consider this option?

RF

-----Original Message-----
From: fdo-internals-bounces at lists.osgeo.org [mailto:fdo-internals-bounces at lists.osgeo.org] On Behalf Of Jason Birch
Sent: Sunday, April 20, 2008 2:50 PM
To: fdo-internals at lists.osgeo.org
Subject: [fdo-internals] Provider registry...

Hi all,

The current providers.xml method of storing the provider list works
fairly well, but it makes it difficult and error-prone when users are
installing new providers that are not distributed with their FDO build.

Does anyone else see value in switching to a method that picks up all
files that follow a certain pattern and adds them to the registry?

Like:

providers.xml
providers.postgis.xml
providers.sqlite.xml

This would allow the old method (everything in one file) to continue to
work, but would also allow bundling specific providers that plug in by
just copying files into the fdo bin directory.

Jason
_______________________________________________
fdo-internals mailing list
fdo-internals at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/fdo-internals


More information about the fdo-internals mailing list