Interface ConstructorStrategy
- All Known Implementing Classes:
ShortestConstructorStrategy
public interface ConstructorStrategy
Selects the constructor that should be used for bean construction.
- Since:
- Feb 14, 2014
- Author:
- Jeroen van Schagen
-
Method Summary
Modifier and TypeMethodDescriptionConstructor<?>
findConstructor
(Class<?> beanClass) Find the best suited constructor of the supplied bean.
-
Method Details
-
findConstructor
Find the best suited constructor of the supplied bean.- Parameters:
beanClass
- the bean class- Returns:
- the found constructor
-