Class 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 Detail

      • 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.