Class DelegatingInstanceFactory

InstanceFactory that delegates the task of instantiating a component to some third party factory.

class DelegatingInstanceFactory(T, X) ;

Constructors

NameDescription
thisDefault constructor for DelegatingInstanceFactory!(T, X)
thisConstructor for DelegatingInstanceFactory!(T, X)

Methods

NameDescription
decoratedSet the decorated object for decorator.
decoratedGet the decorated object.
factoryCreate a new instance of object of type T.