Class SpincastAttemptsLimiterPlugin

java.lang.Object
org.spincast.core.guice.SpincastPluginBase
org.spincast.plugins.attemptslimiter.SpincastAttemptsLimiterPlugin
All Implemented Interfaces:
SpincastContextTypesInterested, SpincastPlugin

public class SpincastAttemptsLimiterPlugin extends SpincastPluginBase
Spincast Attempts Limiter plugin.
  • Field Details

    • PLUGIN_ID

      public static final String PLUGIN_ID
  • Constructor Details

    • SpincastAttemptsLimiterPlugin

      public SpincastAttemptsLimiterPlugin()
  • Method Details

    • getId

      public String getId()
      Description copied from interface: SpincastPlugin
      The id of the plugin.
    • apply

      public com.google.inject.Module apply(com.google.inject.Module module)
      Description copied from interface: SpincastPlugin
      Applies the plugin.

      The plugin can add bindings to the current Guice module, can modify it and can inspect it in order to decide what to bind or not.

      Returns:
      an ajusted Guice module.
    • applyRequiredPlugins

      protected com.google.inject.Module applyRequiredPlugins(com.google.inject.Module module)
    • applySpincastScheduledTasksPlugin

      protected com.google.inject.Module applySpincastScheduledTasksPlugin(com.google.inject.Module module)
    • getPluginModule

      protected com.google.inject.Module getPluginModule()