Class ServiceProvider<T>

java.lang.Object
org.nuxeo.runtime.test.runner.ServiceProvider<T>
All Implemented Interfaces:
com.google.inject.Provider<T>, javax.inject.Provider<T>

public class ServiceProvider<T> extends Object implements com.google.inject.Provider<T>
Author:
Bogdan Stefanescu
  • Field Details

    • clazz

      protected final Class<T> clazz
  • Constructor Details

    • ServiceProvider

      public ServiceProvider(Class<T> clazz)
  • Method Details

    • getServiceClass

      public Class<T> getServiceClass()
    • get

      public T get()
      Specified by:
      get in interface com.google.inject.Provider<T>
      Specified by:
      get in interface javax.inject.Provider<T>
    • getScope

      public com.google.inject.Scope getScope()