Class BasePlugin

java.lang.Object
com.google.inject.AbstractModule
io.datarouter.inject.guice.BaseGuiceModule
io.datarouter.inject.guice.BasePlugin
All Implemented Interfaces:
com.google.inject.Module, GuiceOptionalBinder

public abstract class BasePlugin
extends BaseGuiceModule
  • Constructor Details

    • BasePlugin

      public BasePlugin()
  • Method Details

    • getName

      public final String getName()
      The name is used to identify which plugins have already been added, and which can be overridden. Names have to be unique and can be easily changed.
      Returns:
      the name of the plugin
    • getAsDefaultBinderModule

      public BaseGuiceModule getAsDefaultBinderModule()
      This is experimental.