InjectableObjectFactory

constructor(constructorAccessor: ConstructorAccessor<T>, serviceProvider: ServiceProvider)

Parameters

T

the type of object that will be created


constructor(constructor: Constructor<T>, serviceProvider: ServiceProvider)

Secondary constructor that creates an InjectableObjectFactory with a Constructor and ServiceProvider. Automatically wraps the constructor in a DefaultConstructorAccessor.

Parameters

constructor

the Java constructor to use for instantiation

serviceProvider

the service provider for resolving dependencies