Function InstanceFactoryAware.setInstanceFactory

Sets the constructor of new object.

InstanceFactoryAware!T setInstanceFactory (
  InstanceFactory!T factory
);

Parameters

NameDescription
factory a factory of objects of type T.

Returns

The InstanceFactoryAware