aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pf4j/src/main/java/org/pf4j/Plugin.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/pf4j/src/main/java/org/pf4j/Plugin.java b/pf4j/src/main/java/org/pf4j/Plugin.java
index 29a36ad..aaee012 100644
--- a/pf4j/src/main/java/org/pf4j/Plugin.java
+++ b/pf4j/src/main/java/org/pf4j/Plugin.java
@@ -33,6 +33,8 @@ public class Plugin {
/**
* Wrapper of the plugin.
+ * @deprecated Use application custom {@code PluginContext} instead of {@code PluginWrapper}.
+ * See demo for more details.
*/
@Deprecated
protected PluginWrapper wrapper;
@@ -58,6 +60,8 @@ public class Plugin {
/**
* Retrieves the wrapper of this plug-in.
+ * @deprecated Use application custom {@code PluginContext} instead of {@code PluginWrapper}.
+ * See demo for more details.
*/
@Deprecated
public final PluginWrapper getWrapper() {