Package org.geysermc.floodgate.spigot
Class SpigotPlatform
java.lang.Object
org.geysermc.floodgate.core.FloodgatePlatform
org.geysermc.floodgate.spigot.SpigotPlatform
- All Implemented Interfaces:
org.geysermc.floodgate.isolation.IsolatedPlatform
public class SpigotPlatform
extends org.geysermc.floodgate.core.FloodgatePlatform
-
Constructor Summary
ConstructorsConstructorDescriptionSpigotPlatform(org.geysermc.floodgate.isolation.library.LibraryManager manager, org.bukkit.plugin.java.JavaPlugin plugin) -
Method Summary
Modifier and TypeMethodDescriptionvoidenable()booleanisProxy()voidload()protected voidonContextCreated(io.micronaut.context.ApplicationContext context) Methods inherited from class org.geysermc.floodgate.core.FloodgatePlatform
disable, getBean, getBean, getBean, shutdown
-
Constructor Details
-
SpigotPlatform
public SpigotPlatform(org.geysermc.floodgate.isolation.library.LibraryManager manager, org.bukkit.plugin.java.JavaPlugin plugin)
-
-
Method Details
-
onContextCreated
protected void onContextCreated(io.micronaut.context.ApplicationContext context) - Overrides:
onContextCreatedin classorg.geysermc.floodgate.core.FloodgatePlatform
-
load
public void load()- Specified by:
loadin interfaceorg.geysermc.floodgate.isolation.IsolatedPlatform- Overrides:
loadin classorg.geysermc.floodgate.core.FloodgatePlatform
-
enable
- Specified by:
enablein interfaceorg.geysermc.floodgate.isolation.IsolatedPlatform- Overrides:
enablein classorg.geysermc.floodgate.core.FloodgatePlatform- Throws:
RuntimeException
-
isProxy
public boolean isProxy()- Specified by:
isProxyin classorg.geysermc.floodgate.core.FloodgatePlatform
-