Package org.bukkit.plugin.java
Class PluginClassLoaderUtils
java.lang.Object
org.bukkit.plugin.java.PluginClassLoaderUtils
This utility class allows us to create a new
PluginClassLoader
. The constructor is marked as package-private
hence why this class is located in this exact package.-
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull PluginClassLoader
createPluginClassLoader
(@NotNull JavaPluginLoader loader, @Nullable ClassLoader parent, @NotNull PluginDescriptionFile description, @NotNull File dataFolder, @NotNull File file, @NotNull ClassLoader libraryLoader)
-
Method Details
-
createPluginClassLoader
@NotNull public static @NotNull PluginClassLoader createPluginClassLoader(@NotNull @NotNull JavaPluginLoader loader, @Nullable @Nullable ClassLoader parent, @NotNull @NotNull PluginDescriptionFile description, @NotNull @NotNull File dataFolder, @NotNull @NotNull File file, @NotNull @NotNull ClassLoader libraryLoader) throws IOException, InvalidPluginException - Throws:
IOException
InvalidPluginException
-