Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support constructor injection in extensions #50

Merged
merged 3 commits into from
Oct 29, 2020
Merged

Support constructor injection in extensions #50

merged 3 commits into from
Oct 29, 2020

Commits on Jul 19, 2020

  1. Support spring constructor autowiring (injection) in extension implem…

    …entations
    
    The implementation follows the former one in getting the best fitting spring applciation context.
    After that (if present) the application context is used to create an autowired bean by using mode 'AUTOWIRE_CONSTRUCTOR' and autowire the rest (setters, fields) right after having the instance.
    
    If no context could be received (non spring plugin and non SpringPluginManager (unusual with SpringExtensionFactory but possible)) default Java reflection is used like before except that it public support constructors that have a non empty parameter list as well.
    m-schroeer committed Jul 19, 2020
    Configuration menu
    Copy the full SHA
    f307f0f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    79bf9ba View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2020

  1. Configuration menu
    Copy the full SHA
    7944613 View commit details
    Browse the repository at this point in the history