GenericFactory

A generic factory, is a factory that instantiates data of type T using InstanceFactory and a list of PropertyConfigurers.

A generic factory, is a factory that instantiates data of type T using InstanceFactory and a list of PropertyConfigurers. It can optionally provide a Locator!() object to InstanceFactory and PropertyConfigurer to be used as a source of data.

Members

Functions

addPropertyConfigurer
GenericFactory!T addPropertyConfigurer(PropertyConfigurer!T configurer)

Adds an configurer to the GenericFactory.

Properties

locator
Locator!() locator [@property getter]

Get the GenericFactory locator.

setInstanceFactory
InstanceFactory!T setInstanceFactory [@property setter]

Sets the constructor of new object.

Meta