Factory APIs — zope.configuration 4.0 documentation

### Navigation

- index
- modules |
- next |
- previous |
- zope.configuration 4.0 documentation »
- `zope.component` API Reference »

# 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.

### Navigation

- index
- modules |
- next |
- previous |
- zope.configuration 4.0 documentation »
- `zope.component` API Reference »