> Maybe the best approach is to notify the application
> about plugins structure modifications and to supply some method in plugin
> manager for load, unload, ...
> Can you give me more details about your needs?
I'd be happy with manual load/unload controls and enable/disable controls.
Gitblit[1] is a pure-java Git server. The next major release will
feature an integrated SSH daemon and a plugin/extension mechanism
based on pf4j. I have an incomplete SSH command to remotely
administer/control plugins which I'd like to be more functional - but
this will depend on either improving pf4j or implementing some things
outside pf4j. My preference is to have a few more management APIs
within pf4j - that makes it more useful for everyone.
> Yes, I can see this possibility (maybe the simple implementation is to write
> in enabled.txt and disabled.txt form plugin manager when
> enablePlugin/disablePlugin is called)
That should be fine. How do you reconcile "enabled.txt" and
"disabled.txt"? For example, if I explicitly enable a plugin in
enabled.txt does that automatically disable all other plugins?
-J
[1]:
http://gitblit.com