aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Schüth <account-github@jotschi.de>2019-07-10 21:44:54 +0200
committerDecebal Suiu <decebal.suiu@gmail.com>2019-07-10 22:44:54 +0300
commit9c177204db9eab8c42826711cf7b9c9adfdc6756 (patch)
treecaa3403ac35fad3f24b0b99628a43d0998528f79
parent9ef232d34d7e75081571330bfc6ce0d2382d2bf7 (diff)
downloadpf4j-9c177204db9eab8c42826711cf7b9c9adfdc6756.tar.gz
pf4j-9c177204db9eab8c42826711cf7b9c9adfdc6756.zip
Make PluginWrapper#setPluginState and PluginWrapper#setPluginFactory public to better support custom plugin managers (#329)
-rw-r--r--pf4j/src/main/java/org/pf4j/PluginWrapper.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/pf4j/src/main/java/org/pf4j/PluginWrapper.java b/pf4j/src/main/java/org/pf4j/PluginWrapper.java
index a9aa147..0af0d93 100644
--- a/pf4j/src/main/java/org/pf4j/PluginWrapper.java
+++ b/pf4j/src/main/java/org/pf4j/PluginWrapper.java
@@ -131,11 +131,11 @@ public class PluginWrapper {
return "PluginWrapper [descriptor=" + descriptor + ", pluginPath=" + pluginPath + "]";
}
- void setPluginState(PluginState pluginState) {
+ public void setPluginState(PluginState pluginState) {
this.pluginState = pluginState;
}
- void setPluginFactory(PluginFactory pluginFactory) {
+ public void setPluginFactory(PluginFactory pluginFactory) {
this.pluginFactory = pluginFactory;
}