This is just a case of identifying what needs to be removed. Internally, a plugin will be shutdown before it is removed:
// Remove all plugins with this name and which implement this interface
pluginManager().remove("worker_pool_1", IWorkerPool.class);
// Remove all plugins which implement this interface
pluginManager().remove(IWorkerPool.class);
// Remove all plugins with this name
pluginManager().remove("worker_pool_1", null);
As above, we assume the method pluginManager() returns the manager from which we want to remove the plugins.
Nik Silver 2002-03-09