Class LifecycleScope

java.lang.Object
org.apache.druid.guice.LifecycleScope
All Implemented Interfaces:
com.google.inject.Scope

public class LifecycleScope extends Object implements com.google.inject.Scope
A scope that adds objects to the Lifecycle. This is by definition also a lazy singleton scope.
  • Constructor Details

  • Method Details

    • setLifecycle

      public void setLifecycle(Lifecycle lifecycle)
    • scope

      public <T> com.google.inject.Provider<T> scope(com.google.inject.Key<T> key, com.google.inject.Provider<T> unscoped)
      Specified by:
      scope in interface com.google.inject.Scope