GenericFactoryImpl

A concrete implementation of GenericFactory interface.

Constructors

this
this(Locator!() locator)

Constructor for GenericFactoryImpl

Alias This

payload

Members

Functions

addPropertyConfigurer
GenericFactory!T addPropertyConfigurer(PropertyConfigurer!T configurer)

Adds an configurer to the PropertyConfigurersAware.

allocator
typeof(this) allocator(RCIAllocator allocator)

Set allocator

allocator
inout(RCIAllocator) allocator()

Get allocator

destruct
void destruct(T component)

Destructs a component of type T.

factory
T factory()

Create a new instance of object of type T using provided instance factory and property configurers.

locator
GenericFactory!T locator(Locator!() locator)

Set locator

locator
inout(Locator!()) locator()

Get locator

setInstanceDestructor
typeof(this) setInstanceDestructor(InstanceDestructor!T destructor)

Set destructor

setInstanceFactory
GenericFactory!T setInstanceFactory(InstanceFactory!T factory)

Sets the constructor of new object.

Properties

type
TypeInfo type [@property getter]

Get the type info of object that is created.

Meta