Class TestScopeModule

java.lang.Object
com.google.inject.AbstractModule
org.jenkinsci.test.acceptance.guice.TestScopeModule
All Implemented Interfaces:
com.cloudbees.sdk.extensibility.ExtensionModule, com.google.inject.Module

public class TestScopeModule extends com.google.inject.AbstractModule implements com.cloudbees.sdk.extensibility.ExtensionModule
Defines TestScope and exposes TestLifecycle to clean-up test-scoped instances.
Author:
Kohsuke Kawaguchi
  • Nested Class Summary

    Nested classes/interfaces inherited from interface com.cloudbees.sdk.extensibility.ExtensionModule

    com.cloudbees.sdk.extensibility.ExtensionModule.Loader
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     

    Methods inherited from class com.google.inject.AbstractModule

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

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface com.google.inject.Module

    configure
  • Constructor Details

    • TestScopeModule

      public TestScopeModule()
  • Method Details

    • configure

      protected void configure()
      Overrides:
      configure in class com.google.inject.AbstractModule