This project has moved and is read-only. For the latest updates, please go here.

ExportProvider vs FilteredCatalog

Sep 29, 2010 at 1:13 PM

Hi everybody,

Which is the difference using a FilteredCatalog in order to filter exports against writing a custom EpxortProvider?


Sep 29, 2010 at 9:28 PM

Catalog is just a set of definitions that get used by a particular ExportProvider which is the CatalogExportProvider so a FilteredCatalog will essentially filter the input into the CatalogExportProvider. Writing a custom ExportProvider would be used for cases that don't fit into our primitive model of ComposablePartDefinition/ExportDefinition/ImportDefinition and purely works with Export (as in the class Export).

My advise is to use a FilteredCatalog if that supports your scenario as opposed to writing a custom ExportProvider.

Oct 4, 2010 at 5:23 PM

Oki thanks :)