Spring Boot automatic plugin bean registration

Open
#74 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Domain
backend

Research direction

Start by reproducing the behavior in the linked spring-plugin-example-promotions project and compare manual @EnablePluginRegistries registration with @Component beans. Read the Spring Plugin configuration and registration flow; done means eligible plugin beans are discovered and registered automatically without manual registry configuration.

Written by the indexing model from the issue text.

Description

When I am playing with Spring Plugin in here:
https://github.com/WesternGun/spring-plugin-example-promotions

I found that I must manually registry the plugin beans in the @Configuration class with @EnablePluginRegistries, and I cannot just annotate the beans with @Component.

Will you support automatic scan of beans?

Dominant language
Java
Stars
481
Forks
129
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from spring-projects/spring-plugin

All issues in spring-projects/spring-plugin

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.