diff options
author | Dmitry Timofeev <dmitry-timofeev@users.noreply.github.com> | 2019-03-01 22:29:33 +0200 |
---|---|---|
committer | Decebal Suiu <decebal.suiu@gmail.com> | 2019-03-01 22:29:33 +0200 |
commit | 3d6233154f44806b95dd4bf01e8264889492a082 (patch) | |
tree | 04a5dccb4049589cb738918df93bc88378f8a44d | |
parent | 58fbfcc5f62ad40287eb892e2a8abd0c6e6cebc8 (diff) | |
download | pf4j-3d6233154f44806b95dd4bf01e8264889492a082.tar.gz pf4j-3d6233154f44806b95dd4bf01e8264889492a082.zip |
Document thread safety of PluginManagers (#288)
-rw-r--r-- | pf4j/src/main/java/org/pf4j/AbstractPluginManager.java | 2 | ||||
-rw-r--r-- | pf4j/src/main/java/org/pf4j/DefaultPluginManager.java | 2 |
2 files changed, 4 insertions, 0 deletions
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. * + * <p>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. * + * <p>This class is not thread-safe. + * * @author Decebal Suiu */ public class DefaultPluginManager extends AbstractPluginManager { |