Class SupplierClassBinding<T>

java.lang.Object
org.glassfish.jersey.internal.inject.Binding<Supplier<T>,SupplierClassBinding<T>>
org.glassfish.jersey.internal.inject.SupplierClassBinding<T>
Type Parameters:
T - type of the bean described by this injection binding descriptor.

public class SupplierClassBinding<T> extends Binding<Supplier<T>,SupplierClassBinding<T>>
Injection binding description of a bean bound indirectly via a supplier class producing instances of the bound type.
Author:
Petr Bouda
  • Method Details

    • getSupplierClass

      public Class<? extends Supplier<T>> getSupplierClass()
      Gets supplier's class.
      Returns:
      supplier's class.
    • getSupplierScope

      public Class<? extends Annotation> getSupplierScope()
      Gets supplier's scope.
      Returns:
      supplier's scope.