[Zope3-Users] Re: Get classes implementing Interface

Florian Lindner mailinglists at xgm.de
Fri Dec 30 07:18:59 EST 2005

Am Freitag, 30. Dezember 2005 10:20 schrieb Philipp von Weitershausen:
> Florian Lindner wrote:
> > Am Mittwoch, 28. Dezember 2005 14:48 schrieb Jim Fulton:
> >>Florian Lindner wrote:
> >>>Hello,
> >>>how can I get all classes that implement a specific interface?
> >>>What interface do I need to search for, when I want all objects that can
> >>>be added and work as container? IContainer seem to be implemented by a
> >>>lot more objects...
> >>
> >>There isn't an api for that.
> >
> > And there is no workaround that comes? How would you do that?
> What's your use case?

my first use case is that I want to enhance the HomefolderManager to make it 
possible to select something else than a Folder to be created automatically. 
Right now I have forked a version of the HomefolderManager and just changed 
in the code. But I would like to have a more generic solution and I'll also 
commit it back to the trunk.
For that I want all classes implementing IContainer (and IContentType ?) and 
let the user select on in the configuration dialog of the HomefolderManager.
More use caess probably show up in my project later, but nothing fixed at this 



More information about the Zope3-users mailing list