Package | Description |
---|---|
org.glassfish.jersey |
Common Jersey core classes.
|
org.glassfish.jersey.client |
Jersey client-side classes.
|
org.glassfish.jersey.client.filter |
Provides core client filters.
|
org.glassfish.jersey.client.internal.inject | |
org.glassfish.jersey.ext.cdi1x.internal |
Jersey internal package supporting Jersey CDI integration.
|
org.glassfish.jersey.ext.cdi1x.internal.spi |
Jersey internal SPI to support custom defined HK2 injection binding for Jersey/CDI applications.
|
org.glassfish.jersey.inject.cdi.se | |
org.glassfish.jersey.inject.hk2 | |
org.glassfish.jersey.internal |
Common Jersey internal API classes.
|
org.glassfish.jersey.internal.inject |
Common Jersey internal injection utility classes.
|
org.glassfish.jersey.jaxb.internal | |
org.glassfish.jersey.message.internal |
Common Jersey internal messaging classes.
|
org.glassfish.jersey.model.internal |
Common Jersey internal model related classes and interfaces.
|
org.glassfish.jersey.oauth1.signature |
Jersey OAuth 1 Signature API and Implementation.
|
org.glassfish.jersey.process.internal |
Common Jersey internal processing classes.
|
org.glassfish.jersey.server |
Jersey server-side classes.
|
org.glassfish.jersey.server.internal.inject |
Jersey server-side JAX-RS injection support classes.
|
org.glassfish.jersey.server.internal.process |
Jersey server-side internal classes related to request and response processing.
|
org.glassfish.jersey.server.model |
Jersey server-side application & resource modeling classes.
|
org.glassfish.jersey.server.model.internal |
Jersey server-side internal model related and routing helper classes.
|
org.glassfish.jersey.server.spi |
Jersey server-side service provider contract (SPI) classes.
|
org.glassfish.jersey.server.wadl.config |
Jersey server-side WADL configuration classes.
|
org.glassfish.jersey.server.wadl.internal |
Jersey server-side WADL internal classes.
|
org.glassfish.jersey.spi |
Common Jersey service provider contract (SPI) classes.
|
Modifier and Type | Method and Description |
---|---|
static InjectionManager |
InjectionManagerProvider.getInjectionManager(FeatureContext featureContext)
Extract and return injection manager from
featureContext . |
static InjectionManager |
InjectionManagerProvider.getInjectionManager(ReaderInterceptorContext readerInterceptorContext)
Extract and return injection manager from
readerInterceptorContext . |
static InjectionManager |
InjectionManagerProvider.getInjectionManager(WriterInterceptorContext writerInterceptorContext)
Extract and return injection manager from
writerInterceptorContext . |
Modifier and Type | Method and Description |
---|---|
InjectionManager |
ClientRequest.getInjectionManager() |
InjectionManager |
ClientResponse.getInjectionManager() |
static InjectionManager |
InjectionManagerClientProvider.getInjectionManager(ClientRequestContext clientRequestContext)
Extract and return injection manager from
clientRequestContext . |
static InjectionManager |
InjectionManagerClientProvider.getInjectionManager(ClientResponseContext clientResponseContext)
Extract and return injection manager from
clientResponseContext . |
Constructor and Description |
---|
RequestProcessingInitializationStage(jakarta.inject.Provider<Ref<ClientRequest>> requestRefProvider,
MessageBodyWorkers workersProvider,
InjectionManager injectionManager)
Create new
MessageBodyWorkers initialization function
for requests and responses. |
Constructor and Description |
---|
EncodingFilter(InjectionManager injectionManager) |
Modifier and Type | Method and Description |
---|---|
void |
ParameterUpdaterConfigurator.init(InjectionManager injectionManager,
BootstrapBag bootstrapBag) |
Modifier and Type | Method and Description |
---|---|
InjectionManager |
CdiComponentProvider.getEffectiveInjectionManager()
Gets you effective injection manager.
|
InjectionManager |
GenericInjectionManagerStore.getEffectiveInjectionManager() |
abstract InjectionManager |
GenericInjectionManagerStore.lookupInjectionManager()
CDI container specific method to obtain the actual injection manager
belonging to the Jersey application where the current HTTP requests
is being processed.
|
Modifier and Type | Method and Description |
---|---|
void |
CdiComponentProvider.initialize(InjectionManager injectionManager) |
void |
CdiServerComponentProvider.initialize(InjectionManager injectionManager) |
void |
GenericInjectionManagerStore.registerInjectionManager(InjectionManager injectionManager) |
Constructor and Description |
---|
AbstractCdiBeanSupplier(Class<T> rawType,
InjectionManager injectionManager,
jakarta.enterprise.inject.spi.BeanManager beanManager,
boolean cdiManaged)
Create new factory instance for given type and bean manager.
|
GenericCdiBeanSupplier(Class rawType,
InjectionManager injectionManager,
jakarta.enterprise.inject.spi.BeanManager beanManager,
boolean cdiManaged) |
RequestScopedCdiBeanSupplier(Class rawType,
InjectionManager locator,
jakarta.enterprise.inject.spi.BeanManager beanManager,
boolean cdiManaged) |
Modifier and Type | Method and Description |
---|---|
InjectionManager |
InjectionManagerStore.getEffectiveInjectionManager()
Obtain the effective
injection manager . |
Modifier and Type | Method and Description |
---|---|
void |
InjectionManagerStore.registerInjectionManager(InjectionManager injectionManager)
Register a new
injection manager with this manager. |
void |
InjectionManagerInjectedTarget.setInjectionManager(InjectionManager injectionManager)
Set the locator to be used to co-inject this injection target.
|
Modifier and Type | Class and Description |
---|---|
class |
CdiSeInjectionManager
Implementation of
InjectionManager that starts CDI SE container, scans all users bean according to beans.xml file and
register Jersey's internal beans using SeBeanRegisterExtension extension. |
Modifier and Type | Method and Description |
---|---|
InjectionManager |
CdiSeInjectionManagerFactory.create(Object parent) |
Modifier and Type | Class and Description |
---|---|
class |
DelayedHk2InjectionManager
Implementation of
InjectionManager that is able to delay service's registration
and injection to DelayedHk2InjectionManager.completeRegistration() phase. |
class |
ImmediateHk2InjectionManager
Implementation of
InjectionManager that is able to register and inject services. |
Modifier and Type | Method and Description |
---|---|
InjectionManager |
Hk2InjectionManagerFactory.create(Object parent) |
Modifier and Type | Method and Description |
---|---|
void |
AutoDiscoverableConfigurator.init(InjectionManager injectionManager,
BootstrapBag bootstrapBag) |
void |
BootstrapConfigurator.init(InjectionManager injectionManager,
BootstrapBag bootstrapBag)
Pre-initialization method should only register services into
InjectionManager and populate BootstrapBag . |
void |
ContextResolverFactory.ContextResolversConfigurator.init(InjectionManager injectionManager,
BootstrapBag bootstrapBag) |
void |
DynamicFeatureConfigurator.init(InjectionManager injectionManager,
BootstrapBag bootstrapBag) |
void |
ExceptionMapperFactory.ExceptionMappersConfigurator.init(InjectionManager injectionManager,
BootstrapBag bootstrapBag) |
void |
FeatureConfigurator.init(InjectionManager injectionManager,
BootstrapBag bootstrapBag) |
void |
JaxrsProviders.ProvidersConfigurator.init(InjectionManager injectionManager,
BootstrapBag bootstrapBag) |
default void |
BootstrapConfigurator.postInit(InjectionManager injectionManager,
BootstrapBag bootstrapBag)
Post-initialization method can get services from
InjectionManager and is not able to register the new one because
injection manager is already completed. |
void |
ContextResolverFactory.ContextResolversConfigurator.postInit(InjectionManager injectionManager,
BootstrapBag bootstrapBag) |
void |
ExceptionMapperFactory.ExceptionMappersConfigurator.postInit(InjectionManager injectionManager,
BootstrapBag bootstrapBag) |
Constructor and Description |
---|
ExceptionMapperFactory(InjectionManager injectionManager)
Create new exception mapper factory initialized with
injection manager
instance that will be used to look up all providers implementing ExceptionMapper interface. |
Modifier and Type | Method and Description |
---|---|
default InjectionManager |
InjectionManagerFactory.create()
Load a new injection manager without parent and initial binder.
|
InjectionManager |
InjectionManagerFactory.create(Object parent)
Load a new injection manager with parent object.
|
static InjectionManager |
Injections.createInjectionManager()
Creates an
InjectionManager without parent and initial binder. |
static InjectionManager |
Injections.createInjectionManager(Binder binder)
Creates a
InjectionManager with initial binder that is immediately registered. |
static InjectionManager |
Injections.createInjectionManager(Object parent)
Creates an unnamed, parented
InjectionManager . |
static InjectionManager |
Injections.createInjectionManager(RuntimeType type)
Creates an
InjectionManager without parent and initial binder. |
InjectionManager |
InjectionManagerSupplier.getInjectionManager()
Get injection manager.
|
Modifier and Type | Method and Description |
---|---|
static <T> void |
ProviderBinder.bindProvider(Class<T> providerClass,
ContractProvider model,
InjectionManager injectionManager)
Bind contract provider model to a provider class using the supplied injection manager.
|
static void |
ProviderBinder.bindProvider(Object providerInstance,
ContractProvider model,
InjectionManager injectionManager)
Bind contract provider model to a provider instance using the supplied injection manager.
|
static void |
ProviderBinder.bindProviders(ComponentBag componentBag,
InjectionManager injectionManager)
Bind all providers contained in
providerBag (classes and instances) using injection manager. |
static void |
ProviderBinder.bindProviders(ComponentBag componentBag,
RuntimeType constrainedTo,
Set<Class<?>> registeredClasses,
InjectionManager injectionManager)
Deprecated.
|
static void |
ProviderBinder.bindProviders(ComponentBag componentBag,
RuntimeType constrainedTo,
Set<Class<?>> registeredClasses,
InjectionManager injectionManager,
Collection<ComponentProvider> componentProviders)
Bind all providers contained in
providerBag (classes and instances) using injection manager. |
static <T> Iterable<T> |
Providers.getAllProviders(InjectionManager injectionManager,
Class<T> contract)
Get the iterable of all providers (custom and default) registered for the given service provider contract
in the underlying
injection manager container. |
static <T> Iterable<T> |
Providers.getAllProviders(InjectionManager injectionManager,
Class<T> contract,
Comparator<T> comparator)
Get the iterable of all providers (custom and default) registered for the given service provider contract
in the underlying
injection manager container ordered based on the given comparator . |
static <T> Iterable<T> |
Providers.getAllProviders(InjectionManager injectionManager,
Class<T> contract,
RankedComparator<T> comparator)
Get the sorted iterable of all
providers (custom and default) registered for the given service
provider contract in the underlying injection manager container. |
static <T> Iterable<RankedProvider<T>> |
Providers.getAllRankedProviders(InjectionManager injectionManager,
Class<T> contract)
Get the iterable of all
providers (custom and default) registered for the given service provider
contract in the underlying injection manager container. |
static <T> Iterable<T> |
Providers.getAllRankedSortedProviders(InjectionManager injectionManager,
Class<T> contract)
Get the iterable of all providers (custom and default) registered for the given service provider contract in the underlying
injection manager container and automatically sorted using
ranked comparator . |
static <T> Collection<ServiceHolder<T>> |
Providers.getAllServiceHolders(InjectionManager injectionManager,
Class<T> contract)
Get collection of all
ServiceHolder s bound for providers (custom and default) registered for the given service
provider contract in the underlying injection manager container. |
static Collection<Binding> |
Bindings.getBindings(InjectionManager injectionManager,
Binder binder) |
static <T> Set<T> |
Providers.getCustomProviders(InjectionManager injectionManager,
Class<T> contract)
Get the set of all custom providers registered for the given service provider contract
in the underlying
injection manager container. |
static <T> T |
Injections.getOrCreate(InjectionManager injectionManager,
Class<T> clazz)
Get the class by contract or create and inject a new instance.
|
static <T> Set<T> |
Providers.getProviders(InjectionManager injectionManager,
Class<T> contract)
Get the set of default providers registered for the given service provider contract
in the underlying
injection manager container. |
void |
ParamConverterConfigurator.init(InjectionManager injectionManager,
BootstrapBag bootstrapBag) |
Constructor and Description |
---|
AggregatedProvider(InjectionManager manager,
Configuration configuration)
Create new aggregated
param converter provider . |
OptionalCustomProvider(InjectionManager manager,
boolean canReturnNull) |
ProviderBinder(InjectionManager injectionManager)
Create new provider binder instance.
|
Constructor and Description |
---|
DocumentBuilderFactoryInjectionProvider(InjectionManager injectionManager,
Configuration config)
Create new document builder factory provider.
|
SaxParserFactoryInjectionProvider(InjectionManager injectionManager,
Configuration config)
Create new SAX parser factory provider.
|
TransformerFactoryInjectionProvider(InjectionManager injectionManager,
Configuration config)
Create new transformer factory provider.
|
XmlInputFactoryInjectionProvider(InjectionManager injectionManager,
Configuration config)
Create new XML input factory provider.
|
Modifier and Type | Method and Description |
---|---|
InjectionManager |
ReaderInterceptorExecutor.getInjectionManager() |
InjectionManager |
WriterInterceptorExecutor.getInjectionManager() |
Modifier and Type | Method and Description |
---|---|
void |
MessageBodyFactory.MessageBodyWorkersConfigurator.init(InjectionManager injectionManager,
BootstrapBag bootstrapBag) |
void |
MessageBodyFactory.initialize(InjectionManager injectionManager)
Must be initialize at the time of completed populated
InjectionManager . |
void |
MessageBodyFactory.MessageBodyWorkersConfigurator.postInit(InjectionManager injectionManager,
BootstrapBag bootstrapBag) |
Constructor and Description |
---|
WriterInterceptorExecutor(Object entity,
Class<?> rawType,
Type type,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> headers,
PropertiesDelegate propertiesDelegate,
OutputStream entityStream,
MessageBodyWorkers workers,
Iterable<WriterInterceptor> writerInterceptors,
InjectionManager injectionManager)
Constructs a new executor to write given type to provided
entityStream . |
Modifier and Type | Field and Description |
---|---|
static BiPredicate<ContractProvider,InjectionManager> |
ComponentBag.EXTERNAL_ONLY
A filtering strategy that includes only models that contain contract registrable by
InjectionManager . |
Modifier and Type | Method and Description |
---|---|
InjectionManager |
FeatureContextWrapper.getInjectionManager() |
Modifier and Type | Method and Description |
---|---|
void |
CommonConfig.configureAutoDiscoverableProviders(InjectionManager injectionManager,
Collection<AutoDiscoverable> autoDiscoverables,
boolean forcedOnly)
Configure
auto-discoverables in the injection manager. |
void |
CommonConfig.configureMetaProviders(InjectionManager injectionManager,
ManagedObjectsFinalizer finalizer)
Configure binders in the injection manager and enable JAX-RS features.
|
static Predicate<ContractProvider> |
ComponentBag.excludeMetaProviders(InjectionManager injectionManager)
A method creates the
Predicate which is able to filter all Jersey meta-providers along with the components which
is able to register the current used InjectionManager . |
static <T> List<T> |
ComponentBag.getFromBinders(InjectionManager injectionManager,
ComponentBag componentBag,
Function<Object,T> cast,
Predicate<Binding> filter)
If
T object is registered in ComponentBag using the Binder , T is not visible using the
methods for getting classes and instances ComponentBag.getClasses(Predicate) and
ComponentBag.getInstances(Predicate) . |
Constructor and Description |
---|
FeatureContextWrapper(FeatureContext context,
InjectionManager injectionManager)
Create a new instance of wrapper.
|
ManagedObjectsFinalizer(InjectionManager injectionManager)
Creates a new instance of
ManagedObjectsFinalizer . |
Constructor and Description |
---|
OAuth1Signature(InjectionManager injectionManager)
Create a new instance of the OAuth signature configured with injected
ServiceLocator . |
Modifier and Type | Method and Description |
---|---|
void |
RequestScope.RequestScopeConfigurator.init(InjectionManager injectionManagerFactory,
BootstrapBag bootstrapBag) |
void |
RequestScope.RequestScopeConfigurator.postInit(InjectionManager injectionManager,
BootstrapBag bootstrapBag) |
static void |
ExecutorProviders.registerExecutorBindings(InjectionManager injectionManager)
Create qualified
ExecutorService and ScheduledExecutorService injection bindings based on the registered
providers implementing the ExecutorServiceProvider and/or ScheduledExecutorServiceProvider SPI. |
static void |
ExecutorProviders.registerExecutorBindings(InjectionManager injectionManager,
List<ExecutorServiceProvider> executorProviders,
List<ScheduledExecutorServiceProvider> scheduledProviders)
Create qualified
ExecutorService and ScheduledExecutorService injection bindings based on the registered
providers implementing the ExecutorServiceProvider and/or ScheduledExecutorServiceProvider SPI. |
protected void |
AbstractExecutorProvidersConfigurator.registerExecutors(InjectionManager injectionManager,
ComponentBag componentBag,
ExecutorServiceProvider defaultAsyncExecutorProvider,
ScheduledExecutorServiceProvider defaultScheduledExecutorProvider,
ManagedObjectsFinalizer finalizer)
Retrieves registered
ExecutorServiceProvider and ScheduledExecutorServiceProvider by an application and
adds the default implementations of those interfaces to binds them into InjectionManager . |
Modifier and Type | Method and Description |
---|---|
InjectionManager |
ApplicationHandler.getInjectionManager()
Returns
InjectionManager relevant to current application. |
Modifier and Type | Method and Description |
---|---|
void |
ResourceModelConfigurator.init(InjectionManager injectionManager,
BootstrapBag bootstrapBag) |
Modifier and Type | Method and Description |
---|---|
void |
ParamExtractorConfigurator.init(InjectionManager injectionManager,
BootstrapBag bootstrapBag) |
void |
ValueParamProviderConfigurator.init(InjectionManager injectionManager,
BootstrapBag bootstrapBag) |
void |
ValueParamProviderConfigurator.postInit(InjectionManager injectionManager,
BootstrapBag bootstrapBag) |
Modifier and Type | Method and Description |
---|---|
InjectionManager |
RequestProcessingContext.injectionManager()
Get injection manager.
|
Modifier and Type | Method and Description |
---|---|
void |
RequestProcessingConfigurator.init(InjectionManager injectionManager,
BootstrapBag bootstrapBag) |
Constructor and Description |
---|
ReferencesInitializer(InjectionManager injectionManager,
jakarta.inject.Provider<RequestProcessingContextReference> processingContextRefProvider)
Injection constructor.
|
RequestProcessingContext(InjectionManager injectionManager,
ContainerRequest request,
UriRoutingContext routingContext,
RequestEventBuilder monitoringEventBuilder,
RequestEventListener monitoringEventListener)
Create new request processing context.
|
Modifier and Type | Method and Description |
---|---|
abstract Object |
MethodHandler.getInstance(InjectionManager injectionManager)
Get the injected resource method handler instance.
|
ResourceMethodInvoker.Builder |
ResourceMethodInvoker.Builder.injectionManager(InjectionManager injectionManager)
Set runtime DI injection manager.
|
Modifier and Type | Method and Description |
---|---|
void |
ResourceMethodInvokerConfigurator.init(InjectionManager injectionManager,
BootstrapBag bootstrapBag) |
void |
ResourceMethodInvokerConfigurator.postInit(InjectionManager injectionManager,
BootstrapBag bootstrapBag) |
Modifier and Type | Method and Description |
---|---|
void |
RequestScopedInitializer.initialize(InjectionManager injectionManager)
Perform request-scoped initialization.
|
ExternalRequestContext<T> |
ExternalRequestScope.open(InjectionManager injectionManager)
Invoked when a new request gets started.
|
void |
ExternalRequestScope.resume(ExternalRequestContext<T> c,
InjectionManager injectionManager)
Resume request associated with provided context.
|
void |
ExternalRequestScope.suspend(ExternalRequestContext<T> c,
InjectionManager injectionManager)
Suspend request associated with provided context.
|
Modifier and Type | Method and Description |
---|---|
WadlGenerator |
WadlGeneratorConfig.createWadlGenerator(InjectionManager injectionManager)
Create a new instance of
WadlGenerator , based on the WadlGeneratorDescription s
provided by WadlGeneratorConfig.configure() . |
Constructor and Description |
---|
WadlApplicationContextImpl(InjectionManager injectionManager,
Configuration configuration,
ExtendedResourceContext resourceContext)
Injection constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
ComponentProvider.initialize(InjectionManager injectionManager)
Initializes the component provider with a reference to a injection manager
instance, which will get used in the application to manage individual components.
|
Copyright © 2007-2024, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.