Class ListenerModule

java.lang.Object
com.thewinterframework.wire.module.AbstractProcessorModule
com.thewinterframework.paper.listener.module.ListenerModule
All Implemented Interfaces:
com.google.inject.Module, com.thewinterframework.plugin.module.PluginModule, com.thewinterframework.processor.module.ProcessorModule

public class ListenerModule extends com.thewinterframework.wire.module.AbstractProcessorModule
A module that handles listener components.
  • Field Summary

    Fields inherited from class com.thewinterframework.wire.module.AbstractProcessorModule

    activeComponents, moduleAnnotation, wire
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    configure(com.google.inject.Binder binder)
     
    protected void
    enableComponent(com.thewinterframework.plugin.WinterPlugin plugin, Class<?> componentClass)
     
    boolean
    onDisable(com.thewinterframework.plugin.WinterPlugin plugin)
     

    Methods inherited from class com.thewinterframework.wire.module.AbstractProcessorModule

    disableComponent, evaluateConditions, initWire, onEnable, onLoad, registerComponent

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.thewinterframework.plugin.module.PluginModule

    before, depends
  • Constructor Details

    • ListenerModule

      public ListenerModule()
  • Method Details

    • configure

      public void configure(com.google.inject.Binder binder)
    • enableComponent

      protected void enableComponent(com.thewinterframework.plugin.WinterPlugin plugin, Class<?> componentClass)
      Overrides:
      enableComponent in class com.thewinterframework.wire.module.AbstractProcessorModule
    • onDisable

      public boolean onDisable(com.thewinterframework.plugin.WinterPlugin plugin) throws Exception
      Specified by:
      onDisable in interface com.thewinterframework.plugin.module.PluginModule
      Overrides:
      onDisable in class com.thewinterframework.wire.module.AbstractProcessorModule
      Throws:
      Exception