Skip to content

Commit dacb8a0

Browse files
committed
[+] Interface UnloadBoundary
1 parent ae4c896 commit dacb8a0

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
package org.hydev.mcpm.client.injector;
2+
3+
/**
4+
* Interface for unloading a locally installed plugin.
5+
*
6+
* @author Azalea (https://github.com/hykilpikonna)
7+
* @since 2022-10-29
8+
*/
9+
public interface UnloadBoundary
10+
{
11+
/**
12+
* Dynamically unload a local plugin through JVM reflections and classloader hacks
13+
*
14+
* @param name Loaded plugin name
15+
*/
16+
public void unloadPlugin(String name) throws PluginNotFoundException;
17+
}

0 commit comments

Comments
 (0)