Class ModuleInstantiationContext
-
- All Implemented Interfaces:
public final class ModuleInstantiationContext
Required information to create a module instance
-
-
Field Summary
Fields Modifier and Type Field Description private final BasicsPlugin
plugin
private final Server
server
private final ModuleInfo
info
private final File
file
private final ModuleJarClassLoader
classLoader
-
Constructor Summary
Constructors Constructor Description ModuleInstantiationContext(BasicsPlugin plugin, Server server, ModuleInfo info, File file, ModuleJarClassLoader classLoader)
Create empty Module context
-
Method Summary
Modifier and Type Method Description final BasicsPlugin
getPlugin()
the plugin instance final Server
getServer()
final ModuleInfo
getInfo()
the module info final File
getFile()
the module file final ModuleJarClassLoader
getClassLoader()
the class loader -
-
Constructor Detail
-
ModuleInstantiationContext
ModuleInstantiationContext(BasicsPlugin plugin, Server server, ModuleInfo info, File file, ModuleJarClassLoader classLoader)
Create empty Module context
-
-
Method Detail
-
getPlugin
final BasicsPlugin getPlugin()
the plugin instance
-
getServer
final Server getServer()
-
getInfo
final ModuleInfo getInfo()
the module info
-
getClassLoader
final ModuleJarClassLoader getClassLoader()
the class loader
-
-
-
-