Package org.geysermc.floodgate.core
Class FloodgatePlatform
java.lang.Object
org.geysermc.floodgate.core.FloodgatePlatform
- All Implemented Interfaces:
org.geysermc.floodgate.isolation.IsolatedPlatform
public abstract class FloodgatePlatform
extends Object
implements org.geysermc.floodgate.isolation.IsolatedPlatform
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedFloodgatePlatform(org.geysermc.floodgate.isolation.library.LibraryManager manager) -
Method Summary
Modifier and TypeMethodDescriptionvoiddisable()voidenable()<T,R extends T>
RgetBean(io.micronaut.core.type.Argument<T> clazz, io.micronaut.context.Qualifier<T> qualifier) <T> T<T> Tabstract booleanisProxy()voidload()protected voidonContextCreated(io.micronaut.context.ApplicationContext context)
-
Constructor Details
-
FloodgatePlatform
protected FloodgatePlatform(org.geysermc.floodgate.isolation.library.LibraryManager manager)
-
-
Method Details
-
onContextCreated
protected void onContextCreated(io.micronaut.context.ApplicationContext context) -
load
public void load()- Specified by:
loadin interfaceorg.geysermc.floodgate.isolation.IsolatedPlatform
-
enable
- Specified by:
enablein interfaceorg.geysermc.floodgate.isolation.IsolatedPlatform- Throws:
RuntimeException
-
disable
public void disable()- Specified by:
disablein interfaceorg.geysermc.floodgate.isolation.IsolatedPlatform
-
isProxy
public abstract boolean isProxy() -
getBean
-
getBean
-
getBean
public <T,R extends T> R getBean(io.micronaut.core.type.Argument<T> clazz, io.micronaut.context.Qualifier<T> qualifier)
-