T
- type of the bean described by this injection binding descriptor.public class SupplierInstanceBinding<T> extends Binding<java.util.function.Supplier<T>,SupplierInstanceBinding<T>>
Modifier and Type | Field and Description |
---|---|
private java.util.function.Supplier<T> |
supplier |
Constructor and Description |
---|
SupplierInstanceBinding(java.util.function.Supplier<T> supplier)
Creates a supplier as an instance.
|
Modifier and Type | Method and Description |
---|---|
java.util.function.Supplier<T> |
getSupplier()
Gets supplier's instance.
|
addAlias, analyzeWith, asType, getAliases, getAnalyzer, getContracts, getImplementationType, getName, getQualifiers, getRank, getScope, in, isProxiable, isProxiedForSameScope, named, proxy, proxyForSameScope, qualifiedBy, ranked, to, to, to, to
private final java.util.function.Supplier<T> supplier
SupplierInstanceBinding(java.util.function.Supplier<T> supplier)
supplier
- service's instance.public java.util.function.Supplier<T> getSupplier()