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

Map/Listener support #15

Open
res1st opened this issue Jun 12, 2015 · 2 comments
Open

Map/Listener support #15

res1st opened this issue Jun 12, 2015 · 2 comments
Assignees

Comments

@res1st
Copy link

res1st commented Jun 12, 2015

Hi, I'm currently switching back from OSGi to a non-OSGi project.

What I'm really missing is Map-support to store and select plug-ins.
The filering with supports() over a list feels bad.

Is there an easy way to do it on top of spring-plugin?

@odrotbohm
Copy link
Member

What I'm really missing is Map-support to store and select plug-ins.

Can you elaborate?

The filtering with supports(…) over a list feels bad.

Can you elaborate?

@MichalHecko
Copy link

You can implement method "supports" which rely on plugin name field in your base plugin abstract class. I use this method to pick correct plugin by several criterias

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

No branches or pull requests

3 participants