Browse Source

Add javadoc for deprecated

plugin_context
Decebal Suiu 1 year ago
parent
commit
2a4df4e3c6
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      pf4j/src/main/java/org/pf4j/Plugin.java

+ 4
- 0
pf4j/src/main/java/org/pf4j/Plugin.java View File

@@ -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() {

Loading…
Cancel
Save