FactoryLocator.getFactory

Get factory for constructed component identified by identity.

Get factory for constructed component identified by identity.

interface FactoryLocator(T : Factory!Z, Z)
T
getFactory
(
string identity
)

Parameters

identity string

the identity of component that factory constructs.

Return Value

Type: T

T the factory for constructed component.

Throws

NotFoundException when factory for it is not found.

Meta