Class InjectExtension
- java.lang.Object
-
- org.glassfish.jersey.ext.cdi1x.inject.internal.InjectExtension
-
- All Implemented Interfaces:
jakarta.enterprise.inject.spi.Extension
class InjectExtension extends java.lang.Object implements jakarta.enterprise.inject.spi.ExtensionA utility class that makes sure
@Injectcan be used instead of@Contextfor the Jakarta REST API classes and interfaces, such as forConfiguration, orProviders.Note that
ContextResolvercan be injected using@Context, but the Jakarta REST specification does not require the implementation to be capable of doing so. SinceContextResolveris parametrized type, the injection using CDI's is not supported. TheContextResolvercan be obtained fromProviders.
-
-
Constructor Summary
Constructors Constructor Description InjectExtension()
-