TypeBasedContainer.getFactory

Get factory for constructed data identified by identity.

Get factory for constructed data identified by identity.

class TypeBasedContainer
static if(is(T : FactoryLocator!ObjectFactory))
getFactory
(
string identity
)

Parameters

identity string

the identity of data that factory constructs.

Return Value

ObjectFactory the factory for constructed data.

Throws

NotFoundException when factory for it is not found.

Meta