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 -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigure(com.google.inject.Binder binder) protected voidenableComponent(com.thewinterframework.plugin.WinterPlugin plugin, Class<?> componentClass) booleanonDisable(com.thewinterframework.plugin.WinterPlugin plugin) Methods inherited from class com.thewinterframework.wire.module.AbstractProcessorModule
disableComponent, evaluateConditions, initWire, onEnable, onLoad, registerComponentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
enableComponentin classcom.thewinterframework.wire.module.AbstractProcessorModule
-
onDisable
- Specified by:
onDisablein interfacecom.thewinterframework.plugin.module.PluginModule- Overrides:
onDisablein classcom.thewinterframework.wire.module.AbstractProcessorModule- Throws:
Exception
-