pf4j / pf4j-update

Update mechanism for PF4J
Apache License 2.0
69 stars 39 forks source link

Dynamically loading/starting plugin without restarting application #27

Closed laurentkvb closed 6 years ago

laurentkvb commented 6 years ago

Hi, I just came across this plugin framework for Java and it looks promising, well-written and documented. I have to develop an application in Java where plug-ins should be loaded in the application dynamically - while the application is started.

For instance, at the start of the application, you discover and start/enable all the plug-ins that you have installed. Later you find out that there is an update for a certain plug-in. Is it possible to download, install and load the plug-in while running the application?

decebals commented 6 years ago

You can add a new plugin, eventually remove an existed plugin, but you cannot update a plugin (from a version to another version) without to restart the server.

Is it possible to download, install and load the plug-in while running the application? Yes, it's possible (for new plugins).

Maybe you can find more useful information at:

decebals commented 6 years ago

Can we close this issue?

laurentkvb commented 6 years ago

Yes, you can close this issue.

Thanks for the information.