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.
Injection binding description of a bean bound indirectly via a supplier class producing instances of the bound type.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSupplierClassBinding
(Class<? extends Supplier<T>> supplierClass, Class<? extends Annotation> scope) Creates a service as a class. -
Method Summary
Modifier and TypeMethodDescriptionGets supplier's class.Class<? extends Annotation>
Gets supplier's scope.Methods inherited from class org.glassfish.jersey.internal.inject.Binding
addAlias, analyzeWith, asType, getAliases, getAnalyzer, getContracts, getImplementationType, getName, getQualifiers, getRank, getScope, in, isProxiable, isProxiedForSameScope, named, proxy, proxyForSameScope, qualifiedBy, ranked, to, to, to, to
-
Field Details
-
supplierClass
-
supplierScope
-
-
Constructor Details
-
SupplierClassBinding
SupplierClassBinding(Class<? extends Supplier<T>> supplierClass, Class<? extends Annotation> scope) Creates a service as a class.- Parameters:
supplierClass
- factory's class.scope
- factory's scope.
-
-
Method Details
-
getSupplierClass
Gets supplier's class.- Returns:
- supplier's class.
-
getSupplierScope
Gets supplier's scope.- Returns:
- supplier's scope.
-