Package org.glassfish.jersey.internal.inject
package org.glassfish.jersey.internal.inject
Common Jersey internal injection utility classes.
-
ClassDescriptionImplementation of
Binderinterface dedicated to keep some level of code compatibility between previous HK2 implementation and new DI SPI.Injection binding description used to describe the aliases to mainBinding.AnnotationLiteral<T extends Annotation>Supports inline instantiation of annotation type instances.Interface dedicated to keep some level of code compatibility between previous HK2 implementation and new DI SPI.Abstract injection binding description of a bean.Utility class to create a new injection binding descriptions for arbitrary Java beans.ClassBinding<T>Injection binding description of a bean bound via its a Java class.Utility class which is able to install several binders and register them as a whole.A marker interface toInjectionResolver<Context>.Qualifier annotationused to annotate HK2 injections and bindings for user custom providers.Customannotation literal.Supplier extension which is able to callSupplier.get()method to create a new object and also callDisposableSupplier.dispose(Object)to make some cleaning code regarding the instance and the specificSupplierinstance.A runtime exception that contains a cause, a checked or runtime exception, that may be passed to the cause of aWebApplicationException.The descriptor holder for an externally provided DI providers.The descriptor holder for an externally provided DI providers.Internal service to help determine which HK2 factory provided components should be treated as request scoped.An Injectee represents the point of injection.An Injectee represents the point of injection.Interface provides the communication API between Jersey and Dependency Injection provider.Factory which is able to createInjectionManager.Implementation of this interface is capable of returningInjectionManager.InjectionResolver<T extends Annotation>This class allows users to provide a custom injection target for any annotation (including@Inject).InjectionResolverBinding<T extends InjectionResolver>Class which has the fields containing the instance ofInjectionResolverand its a concrete type.Injection binding utility methods.Injection binding description of a bean bound directly as a specific instance.Configurator which initializes and registerParamConverters.AggregatedProviderinstances intoInjectionManager.An aggregateparam converter providerthat loads all the registeredParamConverterProviderimplementations.Container of several differentparam converter providersimplementations.Aggregatedparam converter provider.Provider ofparam converterthat convert the supplied string into a JavaDateinstance using conversion method from thehttp date formatterutility class.Provider ofparam converterthat convert the supplied string into a JavaInputStreaminstance.Provider ofparam converterthat produce the Optional instance by invokingParamConverterProvider.Provider ofparam converterthat produce the OptionalInt, OptionalDouble or OptionalLong instance.Provider ofparam converterthat produce the target Java type instance by invoking a singleStringparameter constructor on the target type.Provider ofparam converterthat produce the target Java type instance by invoking a staticfromString(String)method on the target type.Provider ofparam converterthat produce the target Javaenumtype instance by invoking a staticfromString(String)method on the target enum type.Provider ofparam converterthat produce the target Java type instance by invoking a staticvalueOf(String)method on the target type.PerLookup is the scope for objects that are created every time they are looked up.PerThread is a scope that operates likeSingletonscope, except on a per-thread basis.Utility class that maps the primitive types to their respective classes as well as the default values as defined by the JAX-RS specification.Class used for registration of the custom providers into injection manager.Utility class providing a set of utility methods for easier and more type-safe interaction with an injection layer.Factory that provides injection of the referenced instance.Implementation of this class is used as a holder for service instance fromInjectionManageralong with other information about the provided service.Implementation of the instance keeper which kept the instance of the class fromInjectionManagerand the other information about this instance.Injection binding description of a bean bound indirectly via a supplier class producing instances of the bound type.Injection binding description of a bean bound indirectly via an supplier producing instances of the bound type.A runtime exception that contains a cause, a checked or runtime exception, that may be passed to the cause of aWebApplicationException.