Class ExtensionLoaderModule<T>

java.lang.Object
com.google.inject.AbstractModule
com.cloudbees.sdk.extensibility.ExtensionLoaderModule<T>
All Implemented Interfaces:
com.google.inject.Module
Direct Known Subclasses:
ExtensionModule.Loader

public abstract class ExtensionLoaderModule<T> extends com.google.inject.AbstractModule
Responsible for producing Bindings inside Injector from a discovered extension.
Author:
Kohsuke Kawaguchi
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected Class<T>
    The type of the extension point.
    protected Class<? extends T>
    The type of the extension implementation discovered.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    init(Class<? extends T> impl, Class<T> extensionPoint)
    Called by ExtensionFinder to initialize this module.

    Methods inherited from class com.google.inject.AbstractModule

    addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestInjection, requestStaticInjection, requireBinding, requireBinding

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • impl

      protected Class<? extends T> impl
      The type of the extension implementation discovered.
    • extensionPoint

      protected Class<T> extensionPoint
      The type of the extension point.
  • Constructor Details

    • ExtensionLoaderModule

      public ExtensionLoaderModule()
  • Method Details