FactoryLocator.getFactory

Get factory for constructed data identified by identity.

Get factory for constructed data identified by identity.

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

Parameters

identity string

the identity of data that factory constructs.

Return Value

Type: T

T the factory for constructed data.

Throws

NotFoundException when factory for it is not found.

Meta