Package org.glassfish.jersey.internal.inject
package org.glassfish.jersey.internal.inject
Common Jersey internal injection utility classes.
-
ClassDescriptionImplementation of
Binder
interface 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 annotation
used to annotate HK2 injections and bindings for user custom providers.Custom
annotation 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 specificSupplier
instance.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 ofInjectionResolver
and its a concrete type.Injection binding utility methods.Injection binding description of a bean bound directly as a specific instance.PerLookup is the scope for objects that are created every time they are looked up.PerThread is a scope that operates likeSingleton
scope, except on a per-thread basis.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 fromInjectionManager
along with other information about the provided service.Implementation of the instance keeper which kept the instance of the class fromInjectionManager
and 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.