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 Type
    Method
    Description
    findConstructor(Class<?> beanClass)
    Find the best suited constructor of the supplied bean.
  • Method Details

    • findConstructor

      Constructor<?> findConstructor(Class<?> beanClass)
      Find the best suited constructor of the supplied bean.
      Parameters:
      beanClass - the bean class
      Returns:
      the found constructor