Function SingletonContainer.getFactory

Get factory for constructed component identified by identity.

Factory!(Object) getFactory (
  string identity
);

Get factory for constructed component identified by identity.

Parameters

NameDescription
identity the identity of component that factory constructs.

Throws

NotFoundException when factory for it is not found.

Returns

ObjectFactory the factory for constructed component.