On 8/20/09 10:18 PM, Iain Duncan wrote: > in a bfg app, is there a way to find all the objects that implement and > interface? I know we can do it the other way around ( get the interfaces > provided by an object ), but not sure how to programmatically find the > factory for making objects that provide an interface.
Since there's no general persistence mechanism in BFG, there's no general way to query any persistent storage. In order to do this in a application that uses ZODB, you'd need to write a function that traverses your object graph. But since there's no such thing as a "generic" object graph, this function needs to be something custom for each graph. - C > > thanks > Iain > > > _______________________________________________ > Repoze-dev mailing list > Repoze-dev@lists.repoze.org > http://lists.repoze.org/listinfo/repoze-dev > _______________________________________________ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev