aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Timofeev <dmitry-timofeev@users.noreply.github.com>2019-03-01 22:29:33 +0200
committerDecebal Suiu <decebal.suiu@gmail.com>2019-03-01 22:29:33 +0200
commit3d6233154f44806b95dd4bf01e8264889492a082 (patch)
tree04a5dccb4049589cb738918df93bc88378f8a44d
parent58fbfcc5f62ad40287eb892e2a8abd0c6e6cebc8 (diff)
downloadpf4j-3d6233154f44806b95dd4bf01e8264889492a082.tar.gz
pf4j-3d6233154f44806b95dd4bf01e8264889492a082.zip
Document thread safety of PluginManagers (#288)
-rw-r--r--pf4j/src/main/java/org/pf4j/AbstractPluginManager.java2
-rw-r--r--pf4j/src/main/java/org/pf4j/DefaultPluginManager.java2
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 {