Class ConfigurateModule

java.lang.Object
com.thewinterframework.configurate.module.ConfigurateModule
All Implemented Interfaces:
com.google.inject.Module, com.thewinterframework.plugin.module.PluginModule, com.thewinterframework.processor.module.ProcessorModule

public class ConfigurateModule extends Object implements com.thewinterframework.processor.module.ProcessorModule
A module that provides support for Configurate serializers using the new Wire system.
  • Constructor Details

    • ConfigurateModule

      public ConfigurateModule()
  • Method Details

    • configure

      public void configure(com.google.inject.Binder binder)
      Specified by:
      configure in interface com.google.inject.Module
      Specified by:
      configure in interface com.thewinterframework.plugin.module.PluginModule
    • onLoad

      public boolean onLoad(com.thewinterframework.plugin.WinterPlugin plugin)
      Specified by:
      onLoad in interface com.thewinterframework.plugin.module.PluginModule
    • onEnable

      public boolean onEnable(com.thewinterframework.plugin.WinterPlugin plugin)
      Specified by:
      onEnable in interface com.thewinterframework.plugin.module.PluginModule
    • setLangFileName

      public void setLangFileName(String langFileName)
    • registry

      @NotNull public @NotNull ConfigurateSerializersRegistry registry()