Function FactoryLocator.getFactory

Get factory for constructed component identified by identity.

T 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

T the factory for constructed component.