How can I implement a plugin facility in my java program?
I am working with Java. My current project is something related to a general purpose electronics hardware, which have a custom command set.
Now there is a general GUI through which one can access the hardware. The hardware behaves in different ways in different environment, i.e. for different clients. Now the problem is that the GUI must be capable of adding plugins. Plugin means, it must be capable of giving a particular facility to a customer who has the privilege. From the customer side, the addition of plugin is to be simple, like just click on a button to add a particular facility.
The reason why I think about plugins is that more and more facility will be introduced only after delivering the core product.
You need to provide following things:
URLClassLoader)API suggestions:
IAction, notice the leading I) and which are provided by your application for plug-in usage (e.g. WindowManager)If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With