Class CommonModule

java.lang.Object
org.geysermc.floodgate.core.module.CommonModule

@Factory public class CommonModule extends Object
  • Constructor Details

    • CommonModule

      public CommonModule()
  • Method Details

    • commonPool

      @Bean(preDestroy="shutdown") @Singleton @Named("commonPool") public ExecutorService commonPool()
    • commonScheduledPool

      @Bean(preDestroy="shutdown") @Singleton @Named("commonScheduledPool") public ScheduledExecutorService commonScheduledPool()
    • dataDirectory

      @Bean @Singleton @Named("dataDirectory") public Path dataDirectory()
    • keyProducer

      @Bean @Singleton public KeyProducer keyProducer()
    • cipher

      @Bean @Singleton public FloodgateCipher cipher()
    • gitBranch

      @Bean @Singleton @Named("gitBranch") public String gitBranch()
    • buildNumber

      @Bean @Singleton @Named("buildNumber") public int buildNumber()
    • kickMessageAttribute

      @Bean @Singleton @Named("kickMessageAttribute") public io.netty.util.AttributeKey<String> kickMessageAttribute()
    • playerAttribute

      @Bean @Singleton @Named("playerAttribute") public io.netty.util.AttributeKey<org.geysermc.api.connection.Connection> playerAttribute()