Class SupplierInstanceBinding<T>

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

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

    • getSupplier

      public Supplier<T> getSupplier()
      Gets supplier's instance.
      Returns:
      supplier's instance.