Przeglądaj źródła

Add javadoc for deprecated

plugin_context
Decebal Suiu 1 rok temu
rodzic
commit
2a4df4e3c6
1 zmienionych plików z 4 dodań i 0 usunięć
  1. 4
    0
      pf4j/src/main/java/org/pf4j/Plugin.java

+ 4
- 0
pf4j/src/main/java/org/pf4j/Plugin.java Wyświetl plik

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

Ładowanie…
Anuluj
Zapisz