spring-plugin icon indicating copy to clipboard operation
spring-plugin copied to clipboard

Map/Listener support

Open res1st opened this issue 10 years ago • 2 comments

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?

res1st avatar Jun 12 '15 07:06 res1st

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?

odrotbohm avatar Jan 28 '16 07:01 odrotbohm

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

MichalHecko avatar Jul 22 '17 16:07 MichalHecko