We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea0e48b commit ae4c896Copy full SHA for ae4c896
src/main/java/org/hydev/mcpm/client/injector/LoadBoundary.java
@@ -0,0 +1,26 @@
1
+package org.hydev.mcpm.client.injector;
2
+
3
+import java.io.File;
4
5
+/**
6
+ * Interface for loading a locally installed plugin.
7
+ *
8
+ * @author Azalea (https://github.com/hykilpikonna)
9
+ * @since 2022-10-29
10
+ */
11
+public interface LoadBoundary
12
+{
13
+ /**
14
+ * Dynamically load a local plugin through JVM reflections and classloader hacks
15
16
+ * @param name Loaded plugin name
17
18
+ public void loadPlugin(String name) throws PluginNotFoundException;
19
20
21
22
23
+ * @param jar Local jar file path
24
25
+ public void loadPlugin(File jar);
26
+}
0 commit comments