Factory APIs

zope.component.createObject(__factory_name, *args, **kwargs)

Invoke the named factory and return the result.

__factory_name is a positional-only argument.

zope.component.getFactoryInterfaces(name, context=None)

Return the interface provided by the named factory’s objects

Result might be a single interface. XXX

zope.component.getFactoriesFor(interface, context=None)

Return info on all factories implementing the given interface.

Previous topic

Adapter Registration APIs

Next topic

Interface Registration APIs

This Page