Package org.springframework.boot.util
Interface Instantiator.AvailableParameters
- Enclosing class:
- Instantiator<T>
public static interface Instantiator.AvailableParameters
Callback used to register available parameters.
-
Method Summary
-
Method Details
-
add
Add a parameter with an instance value.- Parameters:
type
- the parameter typeinstance
- the instance that should be injected
-
add
Add a parameter with an instance factory.- Parameters:
type
- the parameter typefactory
- the factory used to create the instance that should be injected
-