From: Dmitry Timofeev Date: Fri, 1 Mar 2019 20:29:33 +0000 (+0200) Subject: Document thread safety of PluginManagers (#288) X-Git-Tag: release-3.0.0~9 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3d6233154f44806b95dd4bf01e8264889492a082;p=pf4j.git Document thread safety of PluginManagers (#288) --- diff --git a/pf4j/src/main/java/org/pf4j/AbstractPluginManager.java b/pf4j/src/main/java/org/pf4j/AbstractPluginManager.java index 0f847d5..22cf7e3 100644 --- a/pf4j/src/main/java/org/pf4j/AbstractPluginManager.java +++ b/pf4j/src/main/java/org/pf4j/AbstractPluginManager.java @@ -37,6 +37,8 @@ import java.util.Set; * implementation would have to support. * It helps cut the noise out of the subclass that handles plugin management. * + *

This class is not thread-safe. + * * @author Decebal Suiu */ public abstract class AbstractPluginManager implements PluginManager { diff --git a/pf4j/src/main/java/org/pf4j/DefaultPluginManager.java b/pf4j/src/main/java/org/pf4j/DefaultPluginManager.java index c1a695f..96a4104 100644 --- a/pf4j/src/main/java/org/pf4j/DefaultPluginManager.java +++ b/pf4j/src/main/java/org/pf4j/DefaultPluginManager.java @@ -26,6 +26,8 @@ import java.nio.file.Paths; /** * Default implementation of the {@link PluginManager} interface. * + *

This class is not thread-safe. + * * @author Decebal Suiu */ public class DefaultPluginManager extends AbstractPluginManager {