spring-projects / spring-projects/spring-plugin

Spring Boot automatic plugin bean registration

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

Nobody has claimed this yet.

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

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?

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.

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.

Assessment

Tech stack
java, spring, spring-boot
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.