Class InjectExtension
java.lang.Object
org.glassfish.jersey.ext.cdi1x.inject.internal.InjectExtension
- All Implemented Interfaces:
jakarta.enterprise.inject.spi.Extension
A utility class that makes sure @Inject can be used instead of @Context for the Jakarta REST API classes
and interfaces, such as for Configuration, or Providers.
Note that ContextResolver can be injected using @Context, but the Jakarta REST specification does not require
the implementation to be capable of doing so. Since ContextResolver is parametrized type, the injection using CDI's
is not supported. The ContextResolver can be obtained from Providers.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
InjectExtension
InjectExtension()
-