factory

Constructs a class instance using a gc-free factory. The usage is similar to Object.factory() except that by default registered classes don't take the module in account.

Object
factory
(
F
)
(
ref F f
,
string className
)

Parameters

className
Type: string

the class name, as registered in registerFactoryClass().

Throws

An Exception if the class is not registered.

Meta