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

Implement bean filtering #107

Open
cstamas opened this issue Jan 9, 2024 · 0 comments
Open

Implement bean filtering #107

cstamas opened this issue Jan 9, 2024 · 0 comments

Comments

@cstamas
Copy link
Member

cstamas commented Jan 9, 2024

As we know, sisu is "flat", while plexus is filtering components based on visibility (is configurable to be "flat"/"global" as well, but am unaware of any usage relying on that). Maven uses Plexus with default "realm" visibility as well. Basically, Maven would be very fine with Sisu only EXCEPT for component visibility.

Would be great if Sisu would accept (on construction) some "filter" that would be applied to components, to achieve same "realm" visibility as Plexus does.

Maven while constructs Sisu (and Plexus) does use and will use ClassWorlds to create realm hierarchy, so something like RealmManager could be implemented in Maven, while Sisu could be created with some filter like RealmFilteredBeans is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant