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 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:
      load in interface org.geysermc.floodgate.isolation.IsolatedPlatform
    • enable

      public void enable() throws RuntimeException
      Specified by:
      enable in interface org.geysermc.floodgate.isolation.IsolatedPlatform
      Throws:
      RuntimeException
    • disable

      public void disable()
      Specified by:
      disable in interface org.geysermc.floodgate.isolation.IsolatedPlatform
    • shutdown

      public void shutdown()
      Specified by:
      shutdown in interface org.geysermc.floodgate.isolation.IsolatedPlatform
    • isProxy

      public abstract boolean isProxy()
    • getBean

      public <T> T getBean(Class<T> clazz)
    • getBean

      public <T> T getBean(Class<T> clazz, io.micronaut.context.Qualifier<T> qualifier)
    • getBean

      public <T, R extends T> R getBean(io.micronaut.core.type.Argument<T> clazz, io.micronaut.context.Qualifier<T> qualifier)