Factory APIs

zope.component.createObject(__factory_name, *args, **kwargs)[source]

Invoke the named factory and return the result.

__factory_name is a positional-only argument.

zope.component.getFactoryInterfaces(name, context=None)[source]

Return the interface provided by the named factory’s objects

Result might be a single interface. XXX

zope.component.getFactoriesFor(interface, context=None)[source]

Return info on all factories implementing the given interface.