spring-plugin
spring-plugin copied to clipboard
Map/Listener support
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?
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?
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