接口 Instantiator.AvailableParameters
- 封闭类:
Instantiator<T>
public static interface Instantiator.AvailableParameters
Callback used to register available parameters.
-
方法概要
-
方法详细资料
-
add
Add a parameter with an instance value.- 参数:
type
- the parameter typeinstance
- the instance that should be injected
-
add
Add a parameter with an instance factory.- 参数:
type
- the parameter typefactory
- the factory used to create the instance that should be injected
-