Uses of Interface
org.glassfish.jersey.internal.inject.InjectionManager
-
Packages that use InjectionManager 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.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.message.filtering Support for Entity Data Filtering in Jersey.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.filter Provides core server filters.org.glassfish.jersey.server.internal.inject Jersey server-side JAX-RS injection support classes.org.glassfish.jersey.server.internal.monitoring Jersey server-side internal monitoring and statistics 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. -
-
Uses of InjectionManager in org.glassfish.jersey
Methods in org.glassfish.jersey that return InjectionManager Modifier and Type Method Description static InjectionManager
InjectionManagerProvider. getInjectionManager(javax.ws.rs.core.FeatureContext featureContext)
Extract and return injection manager fromfeatureContext
.static InjectionManager
InjectionManagerProvider. getInjectionManager(javax.ws.rs.ext.ReaderInterceptorContext readerInterceptorContext)
Extract and return injection manager fromreaderInterceptorContext
.static InjectionManager
InjectionManagerProvider. getInjectionManager(javax.ws.rs.ext.WriterInterceptorContext writerInterceptorContext)
Extract and return injection manager fromwriterInterceptorContext
. -
Uses of InjectionManager in org.glassfish.jersey.client
Fields in org.glassfish.jersey.client declared as InjectionManager Modifier and Type Field Description private InjectionManager
ClientRuntime. injectionManager
Methods in org.glassfish.jersey.client that return InjectionManager Modifier and Type Method Description InjectionManager
ClientRequest. getInjectionManager()
InjectionManager
ClientResponse. getInjectionManager()
(package private) InjectionManager
ClientRuntime. getInjectionManager()
Get injection manager.static InjectionManager
InjectionManagerClientProvider. getInjectionManager(javax.ws.rs.client.ClientRequestContext clientRequestContext)
Extract and return injection manager fromclientRequestContext
.static InjectionManager
InjectionManagerClientProvider. getInjectionManager(javax.ws.rs.client.ClientResponseContext clientResponseContext)
Extract and return injection manager fromclientResponseContext
.Methods in org.glassfish.jersey.client with parameters of type InjectionManager Modifier and Type Method Description void
ClientConfig.State. configureAutoDiscoverableProviders(InjectionManager injectionManager, java.util.List<AutoDiscoverable> autoDiscoverables)
void
ClientConfig.State. configureForcedAutoDiscoverableProviders(InjectionManager injectionManager)
void
ClientConfig.State. configureMetaProviders(InjectionManager injectionManager, ManagedObjectsFinalizer finalizer)
(package private) static ChainableStage<ClientRequest>
ClientFilteringStages. createRequestFilteringStage(InjectionManager injectionManager)
Create client request filtering stage using the injection manager.(package private) static ChainableStage<ClientResponse>
ClientFilteringStages. createResponseFilteringStage(InjectionManager injectionManager)
Create client response filtering stage using the injection manager.void
ClientConfig.RuntimeConfigConfigurator. init(InjectionManager injectionManager, BootstrapBag bootstrapBag)
void
ClientExecutorProvidersConfigurator. init(InjectionManager injectionManager, BootstrapBag bootstrapBag)
Constructors in org.glassfish.jersey.client with parameters of type InjectionManager Constructor Description ClientRuntime(ClientConfig config, Connector connector, InjectionManager injectionManager, BootstrapBag bootstrapBag)
Create new client request processing runtime.RequestProcessingInitializationStage(javax.inject.Provider<Ref<ClientRequest>> requestRefProvider, MessageBodyWorkers workersProvider, InjectionManager injectionManager)
Create newMessageBodyWorkers
initialization function for requests and responses. -
Uses of InjectionManager in org.glassfish.jersey.client.filter
Fields in org.glassfish.jersey.client.filter declared as InjectionManager Modifier and Type Field Description private InjectionManager
EncodingFilter. injectionManager
-
Uses of InjectionManager in org.glassfish.jersey.inject.hk2
Classes in org.glassfish.jersey.inject.hk2 that implement InjectionManager Modifier and Type Class Description (package private) class
AbstractHk2InjectionManager
Abstract class dedicated to implementations ofInjectionManager
providing several convenient methods.class
DelayedHk2InjectionManager
Implementation ofInjectionManager
that is able to delay service's registration and injection toDelayedHk2InjectionManager.completeRegistration()
phase.class
ImmediateHk2InjectionManager
Implementation ofInjectionManager
that is able to register and inject services.Methods in org.glassfish.jersey.inject.hk2 that return InjectionManager Modifier and Type Method Description InjectionManager
Hk2InjectionManagerFactory. create(java.lang.Object parent)
(package private) abstract InjectionManager
Hk2InjectionManagerFactory.Hk2InjectionManagerStrategy. createInjectionManager(java.lang.Object parent)
private InjectionManager
Hk2InjectionManagerFactory. initInjectionManager(InjectionManager injectionManager)
Methods in org.glassfish.jersey.inject.hk2 with parameters of type InjectionManager Modifier and Type Method Description private InjectionManager
Hk2InjectionManagerFactory. initInjectionManager(InjectionManager injectionManager)
-
Uses of InjectionManager in org.glassfish.jersey.internal
Methods in org.glassfish.jersey.internal with parameters of type InjectionManager Modifier and Type Method Description private LazyValue<java.util.Set<ExceptionMapperFactory.ExceptionMapperType>>
ExceptionMapperFactory. createLazyExceptionMappers(InjectionManager injectionManager)
ReturnsLazyValue
of exception mappers that delays their creation to the first use.void
AutoDiscoverableConfigurator. init(InjectionManager injectionManager, BootstrapBag bootstrapBag)
void
BootstrapConfigurator. init(InjectionManager injectionManager, BootstrapBag bootstrapBag)
Pre-initialization method should only register services intoInjectionManager
and populateBootstrapBag
.void
ContextResolverFactory.ContextResolversConfigurator. init(InjectionManager injectionManager, BootstrapBag bootstrapBag)
void
ExceptionMapperFactory.ExceptionMappersConfigurator. 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 fromInjectionManager
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)
Constructors in org.glassfish.jersey.internal with parameters of type InjectionManager Constructor Description ExceptionMapperFactory(InjectionManager injectionManager)
Create new exception mapper factory initialized withinjection manager
instance that will be used to look up all providers implementingExceptionMapper
interface. -
Uses of InjectionManager in org.glassfish.jersey.internal.inject
Fields in org.glassfish.jersey.internal.inject declared as InjectionManager Modifier and Type Field Description private InjectionManager
AbstractBinder. injectionManager
private InjectionManager
ProviderBinder. injectionManager
Methods in org.glassfish.jersey.internal.inject that return InjectionManager Modifier and Type Method Description default InjectionManager
InjectionManagerFactory. create()
Load a new injection manager without parent and initial binder.InjectionManager
InjectionManagerFactory. create(java.lang.Object parent)
Load a new injection manager with parent object.static InjectionManager
Injections. createInjectionManager()
Creates aInjectionManager
without parent and initial binder.static InjectionManager
Injections. createInjectionManager(java.lang.Object parent)
Creates an unnamed, parentedInjectionManager
.static InjectionManager
Injections. createInjectionManager(Binder binder)
Creates aInjectionManager
with initial binder that is immediately registered.InjectionManager
InjectionManagerSupplier. getInjectionManager()
Get injection manager.Methods in org.glassfish.jersey.internal.inject with parameters of type InjectionManager Modifier and Type Method Description static void
ProviderBinder. bindProvider(java.lang.Class<?> providerClass, ContractProvider model, InjectionManager injectionManager)
Bind contract provider model to a provider class using the supplied injection manager.static void
ProviderBinder. bindProvider(java.lang.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, javax.ws.rs.RuntimeType constrainedTo, java.util.Set<java.lang.Class<?>> registeredClasses, InjectionManager injectionManager)
Bind all providers contained inproviderBag
(classes and instances) using injection manager.static void
ProviderBinder. bindProviders(ComponentBag componentBag, InjectionManager injectionManager)
Bind all providers contained inproviderBag
(classes and instances) using injection manager.static <T> java.lang.Iterable<T>
Providers. getAllProviders(InjectionManager injectionManager, java.lang.Class<T> contract)
Get the iterable of all providers (custom and default) registered for the given service provider contract in the underlyinginjection manager
container.static <T> java.lang.Iterable<T>
Providers. getAllProviders(InjectionManager injectionManager, java.lang.Class<T> contract, java.util.Comparator<T> comparator)
Get the iterable of all providers (custom and default) registered for the given service provider contract in the underlyinginjection manager
container ordered based on the givencomparator
.static <T> java.lang.Iterable<T>
Providers. getAllProviders(InjectionManager injectionManager, java.lang.Class<T> contract, RankedComparator<T> comparator)
Get the sorted iterable of allproviders
(custom and default) registered for the given service provider contract in the underlyinginjection manager
container.static <T> java.lang.Iterable<RankedProvider<T>>
Providers. getAllRankedProviders(InjectionManager injectionManager, java.lang.Class<T> contract)
Get the iterable of allproviders
(custom and default) registered for the given service provider contract in the underlyinginjection manager
container.static <T> java.lang.Iterable<T>
Providers. getAllRankedSortedProviders(InjectionManager injectionManager, java.lang.Class<T> contract)
Get the iterable of all providers (custom and default) registered for the given service provider contract in the underlyinginjection manager
container and automatically sorted usingranked comparator
.static <T> java.util.Collection<ServiceHolder<T>>
Providers. getAllServiceHolders(InjectionManager injectionManager, java.lang.Class<T> contract)
Get collection of allServiceHolder
s bound for providers (custom and default) registered for the given service provider contract in the underlyinginjection manager
container.static java.util.Collection<Binding>
Bindings. getBindings(InjectionManager injectionManager, Binder binder)
static <T> java.util.Set<T>
Providers. getCustomProviders(InjectionManager injectionManager, java.lang.Class<T> contract)
Get the set of all custom providers registered for the given service provider contract in the underlyinginjection manager
container.static <T> T
Injections. getOrCreate(InjectionManager injectionManager, java.lang.Class<T> clazz)
Get the class by contract or create and inject a new instance.static <T> java.util.Set<T>
Providers. getProviders(InjectionManager injectionManager, java.lang.Class<T> contract)
Get the set of default providers registered for the given service provider contract in the underlyinginjection manager
container.private static <T> java.util.List<ServiceHolder<T>>
Providers. getServiceHolders(InjectionManager bm, java.lang.Class<T> contract, java.lang.annotation.Annotation... qualifiers)
private static <T> java.util.List<ServiceHolder<T>>
Providers. getServiceHolders(InjectionManager injectionManager, java.lang.Class<T> contract, java.util.Comparator<java.lang.Class<?>> objectComparator, java.lang.annotation.Annotation... qualifiers)
(package private) void
AbstractBinder. setInjectionManager(InjectionManager injectionManager)
SetsInjectionManager
to be able to create instance providers using the injection manager.Constructors in org.glassfish.jersey.internal.inject with parameters of type InjectionManager Constructor Description ProviderBinder(InjectionManager injectionManager)
Create new provider binder instance. -
Uses of InjectionManager in org.glassfish.jersey.message.filtering
Constructors in org.glassfish.jersey.message.filtering with parameters of type InjectionManager Constructor Description CommonScopeProvider(javax.ws.rs.core.Configuration config, InjectionManager injectionManager)
Create new common scope provider with injectedconfiguration
andinjection manager
.EntityInspectorImpl(InjectionManager injectionManager)
Constructor expectingInjectionManager
to be injected.SecurityServerScopeProvider(javax.ws.rs.core.Configuration config, InjectionManager injectionManager)
ServerScopeProvider(javax.ws.rs.core.Configuration config, InjectionManager injectionManager)
Create new server scope provider with injectedconfiguration
andjersey injection manager
. -
Uses of InjectionManager in org.glassfish.jersey.message.internal
Fields in org.glassfish.jersey.message.internal declared as InjectionManager Modifier and Type Field Description private InjectionManager
MessageBodyFactory. injectionManager
private InjectionManager
ReaderInterceptorExecutor. injectionManager
private InjectionManager
WriterInterceptorExecutor. injectionManager
Methods in org.glassfish.jersey.message.internal that return InjectionManager Modifier and Type Method Description InjectionManager
ReaderInterceptorExecutor. getInjectionManager()
InjectionManager
WriterInterceptorExecutor. getInjectionManager()
Methods in org.glassfish.jersey.message.internal with parameters of type InjectionManager Modifier and Type Method Description void
MessageBodyFactory.MessageBodyWorkersConfigurator. init(InjectionManager injectionManager, BootstrapBag bootstrapBag)
void
MessageBodyFactory. initialize(InjectionManager injectionManager)
Must be initialize at the time of completed populatedInjectionManager
.void
MessageBodyFactory.MessageBodyWorkersConfigurator. postInit(InjectionManager injectionManager, BootstrapBag bootstrapBag)
Constructors in org.glassfish.jersey.message.internal with parameters of type InjectionManager Constructor Description ReaderInterceptorExecutor(java.lang.Class<?> rawType, java.lang.reflect.Type type, java.lang.annotation.Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.String> headers, PropertiesDelegate propertiesDelegate, java.io.InputStream inputStream, MessageBodyWorkers workers, java.lang.Iterable<javax.ws.rs.ext.ReaderInterceptor> readerInterceptors, boolean translateNce, InjectionManager injectionManager)
Constructs a new executor to read given type from providedentityStream
.WriterInterceptorExecutor(java.lang.Object entity, java.lang.Class<?> rawType, java.lang.reflect.Type type, java.lang.annotation.Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.Object> headers, PropertiesDelegate propertiesDelegate, java.io.OutputStream entityStream, MessageBodyWorkers workers, java.lang.Iterable<javax.ws.rs.ext.WriterInterceptor> writerInterceptors, InjectionManager injectionManager)
Constructs a new executor to write given type to providedentityStream
. -
Uses of InjectionManager in org.glassfish.jersey.model.internal
Fields in org.glassfish.jersey.model.internal declared as InjectionManager Modifier and Type Field Description private InjectionManager
FeatureContextWrapper. injectionManager
private InjectionManager
ManagedObjectsFinalizer. injectionManager
Fields in org.glassfish.jersey.model.internal with type parameters of type InjectionManager Modifier and Type Field Description static java.util.function.BiPredicate<ContractProvider,InjectionManager>
ComponentBag. EXTERNAL_ONLY
A filtering strategy that includes only models that contain contract registrable byInjectionManager
.Methods in org.glassfish.jersey.model.internal that return InjectionManager Modifier and Type Method Description InjectionManager
FeatureContextWrapper. getInjectionManager()
Methods in org.glassfish.jersey.model.internal with parameters of type InjectionManager Modifier and Type Method Description void
CommonConfig. configureAutoDiscoverableProviders(InjectionManager injectionManager, java.util.Collection<AutoDiscoverable> autoDiscoverables, boolean forcedOnly)
Configureauto-discoverables
in the injection manager.private java.util.Set<Binder>
CommonConfig. configureBinders(InjectionManager injectionManager, java.util.Set<Binder> configured)
private void
CommonConfig. configureExternalObjects(InjectionManager injectionManager)
private void
CommonConfig. configureFeatures(InjectionManager injectionManager, java.util.Set<CommonConfig.FeatureRegistration> processed, java.util.List<CommonConfig.FeatureRegistration> unprocessed, ManagedObjectsFinalizer managedObjectsFinalizer)
void
CommonConfig. configureMetaProviders(InjectionManager injectionManager, ManagedObjectsFinalizer finalizer)
Configure binders in the injection manager and enable JAX-RS features.static java.util.function.Predicate<ContractProvider>
ComponentBag. excludeMetaProviders(InjectionManager injectionManager)
A method creates thePredicate
which is able to filter all Jersey meta-providers along with the components which is able to register the current usedInjectionManager
.static <T> java.util.List<T>
ComponentBag. getFromBinders(InjectionManager injectionManager, ComponentBag componentBag, java.util.function.Function<java.lang.Object,T> cast, java.util.function.Predicate<Binding> filter)
IfT
object is registered inComponentBag
using theBinder
,T
is not visible using the methods for getting classes and instancesComponentBag.getClasses(Predicate)
andComponentBag.getInstances(Predicate)
.Constructors in org.glassfish.jersey.model.internal with parameters of type InjectionManager Constructor Description FeatureContextWrapper(javax.ws.rs.core.FeatureContext context, InjectionManager injectionManager)
Create a new instance of wrapper.ManagedObjectsFinalizer(InjectionManager injectionManager)
Creates a new instance ofManagedObjectsFinalizer
. -
Uses of InjectionManager in org.glassfish.jersey.oauth1.signature
Constructors in org.glassfish.jersey.oauth1.signature with parameters of type InjectionManager Constructor Description OAuth1Signature(InjectionManager injectionManager)
Create a new instance of the OAuth signature configured with injectedServiceLocator
. -
Uses of InjectionManager in org.glassfish.jersey.process.internal
Methods in org.glassfish.jersey.process.internal with parameters of type InjectionManager Modifier and Type Method Description private static <T> java.util.List<T>
ExecutorProviders. getExecutorProviders(InjectionManager injectionManager, java.lang.Class<T> providerClass)
void
RequestScope.RequestScopeConfigurator. init(InjectionManager injectionManagerFactory, BootstrapBag bootstrapBag)
void
RequestScope.RequestScopeConfigurator. postInit(InjectionManager injectionManager, BootstrapBag bootstrapBag)
static void
ExecutorProviders. registerExecutorBindings(InjectionManager injectionManager)
Create qualifiedExecutorService
andScheduledExecutorService
injection bindings based on the registered providers implementing theExecutorServiceProvider
and/orScheduledExecutorServiceProvider
SPI.static void
ExecutorProviders. registerExecutorBindings(InjectionManager injectionManager, java.util.List<ExecutorServiceProvider> executorProviders, java.util.List<ScheduledExecutorServiceProvider> scheduledProviders)
Create qualifiedExecutorService
andScheduledExecutorService
injection bindings based on the registered providers implementing theExecutorServiceProvider
and/orScheduledExecutorServiceProvider
SPI.protected void
AbstractExecutorProvidersConfigurator. registerExecutors(InjectionManager injectionManager, ComponentBag componentBag, ExecutorServiceProvider defaultAsyncExecutorProvider, ScheduledExecutorServiceProvider defaultScheduledExecutorProvider)
Retrieves registeredExecutorServiceProvider
andScheduledExecutorServiceProvider
by an application and adds the default implementations of those interfaces to binds them intoInjectionManager
. -
Uses of InjectionManager in org.glassfish.jersey.server
Fields in org.glassfish.jersey.server declared as InjectionManager Modifier and Type Field Description private InjectionManager
ApplicationHandler. injectionManager
private InjectionManager
ServerRuntime. injectionManager
Methods in org.glassfish.jersey.server that return InjectionManager Modifier and Type Method Description InjectionManager
ApplicationHandler. getInjectionManager()
ReturnsInjectionManager
relevant to current application.Methods in org.glassfish.jersey.server with parameters of type InjectionManager Modifier and Type Method Description private void
ResourceModelConfigurator. bindEnhancingResourceClasses(InjectionManager injectionManager, ServerBootstrapBag bootstrapBag, ResourceModel resourceModel, ResourceBag resourceBag, ResourceConfig runtimeConfig)
private void
ResourceModelConfigurator. bindProvidersAndResources(InjectionManager injectionManager, ServerBootstrapBag bootstrapBag, ComponentBag componentBag, java.util.Collection<java.lang.Class<?>> resourceClasses, java.util.Collection<java.lang.Object> resourceInstances, ResourceConfig runtimeConfig)
(package private) void
ResourceConfig. configureAutoDiscoverableProviders(InjectionManager injectionManager, java.util.Collection<AutoDiscoverable> autoDiscoverables)
Configure auto-discoverables.void
ResourceConfig.ImmutableState. configureAutoDiscoverableProviders(InjectionManager injectionManager, java.util.Collection<AutoDiscoverable> autoDiscoverables, boolean forcedOnly)
(package private) void
ResourceConfig. configureForcedAutoDiscoverableProviders(InjectionManager injectionManager)
Configure forced auto-discoverables.(package private) void
ResourceConfig. configureMetaProviders(InjectionManager injectionManager, ManagedObjectsFinalizer finalizer)
void
ResourceConfig.ImmutableState. configureMetaProviders(InjectionManager injectionManager, ManagedObjectsFinalizer finalizer)
private static javax.ws.rs.core.Application
ApplicationConfigurator. createApplication(InjectionManager injectionManager, java.lang.Class<? extends javax.ws.rs.core.Application> applicationClass, Value<java.util.Collection<ComponentProvider>> componentProvidersValue)
(package private) static ServerRuntime
ServerRuntime. createServerRuntime(InjectionManager injectionManager, ServerBootstrapBag bootstrapBag, Stage<RequestProcessingContext> processingRoot, ApplicationEventListener eventListener, ProcessingProviders processingProviders)
void
ApplicationConfigurator. init(InjectionManager injectionManager, BootstrapBag bootstrapBag)
void
ApplicationHandler.RuntimeConfigConfigurator. init(InjectionManager injectionManager, BootstrapBag bootstrapBag)
void
ComponentProviderConfigurator. init(InjectionManager injectionManager, BootstrapBag bootstrapBag)
void
ContainerProviderConfigurator. init(InjectionManager injectionManager, BootstrapBag bootstrapBag)
void
ExternalRequestScopeConfigurator. init(InjectionManager injectionManager, BootstrapBag bootstrapBag)
void
JerseyResourceContextConfigurator. init(InjectionManager injectionManager, BootstrapBag bootstrapBag)
void
ModelProcessorConfigurator. init(InjectionManager injectionManager, BootstrapBag bootstrapBag)
void
ProcessingProvidersConfigurator. init(InjectionManager injectionManager, BootstrapBag bootstrapBag)
void
ResourceBagConfigurator. init(InjectionManager injectionManager, BootstrapBag bootstrapBag)
void
ResourceModelConfigurator. init(InjectionManager injectionManager, BootstrapBag bootstrapBag)
void
ServerExecutorProvidersConfigurator. init(InjectionManager injectionManager, BootstrapBag bootstrapBag)
private ServerRuntime
ApplicationHandler. initialize(InjectionManager injectionManager, java.util.List<BootstrapConfigurator> bootstrapConfigurators, ServerBootstrapBag bootstrapBag)
Assumes the configuration field is initialized with a valid ResourceConfig.private void
ApplicationHandler. initialize(ApplicationConfigurator applicationConfigurator, InjectionManager injectionManager, Binder customBinder)
private static void
ApplicationHandler. logApplicationInitConfiguration(InjectionManager injectionManager, ResourceBag resourceBag, ProcessingProviders processingProviders)
void
ComponentProviderConfigurator. postInit(InjectionManager injectionManager, BootstrapBag bootstrapBag)
void
JerseyResourceContextConfigurator. postInit(InjectionManager injectionManager, BootstrapBag bootstrapBag)
void
ProcessingProvidersConfigurator. postInit(InjectionManager injectionManager, BootstrapBag bootstrapBag)
Constructors in org.glassfish.jersey.server with parameters of type InjectionManager Constructor Description ServerRuntime(Stage<RequestProcessingContext> requestProcessingRoot, ProcessingProviders processingProviders, InjectionManager injectionManager, java.util.concurrent.ScheduledExecutorService backgroundScheduler, javax.inject.Provider<java.util.concurrent.ExecutorService> managedAsyncExecutorProvider, RequestScope requestScope, ExceptionMappers exceptionMappers, ApplicationEventListener applicationEventListener, ExternalRequestScope externalScope, javax.ws.rs.core.Configuration configuration)
-
Uses of InjectionManager in org.glassfish.jersey.server.filter
Fields in org.glassfish.jersey.server.filter declared as InjectionManager Modifier and Type Field Description private InjectionManager
EncodingFilter. injectionManager
-
Uses of InjectionManager in org.glassfish.jersey.server.internal.inject
Fields in org.glassfish.jersey.server.internal.inject declared as InjectionManager Modifier and Type Field Description private InjectionManager
BeanParamValueParamProvider.BeanParamValueProvider. injectionManager
private InjectionManager
BeanParamValueParamProvider. injectionManager
Methods in org.glassfish.jersey.server.internal.inject with parameters of type InjectionManager Modifier and Type Method Description void
ParamConverterConfigurator. init(InjectionManager injectionManager, BootstrapBag bootstrapBag)
void
ParamExtractorConfigurator. init(InjectionManager injectionManager, BootstrapBag bootstrapBag)
void
ValueParamProviderConfigurator. init(InjectionManager injectionManager, BootstrapBag bootstrapBag)
void
ValueParamProviderConfigurator. postInit(InjectionManager injectionManager, BootstrapBag bootstrapBag)
private void
ValueParamProviderConfigurator. registerResolver(InjectionManager im, ValueParamProvider vfp, java.lang.Class<? extends java.lang.annotation.Annotation> annotation, javax.inject.Provider<ContainerRequest> request)
Constructors in org.glassfish.jersey.server.internal.inject with parameters of type InjectionManager Constructor Description BeanParamValueParamProvider(javax.inject.Provider<MultivaluedParameterExtractorProvider> mpep, InjectionManager injectionManager)
Creates new instance initialized from parameters injected by HK2.BeanParamValueProvider(InjectionManager injectionManager, Parameter parameter)
-
Uses of InjectionManager in org.glassfish.jersey.server.internal.monitoring
Fields in org.glassfish.jersey.server.internal.monitoring declared as InjectionManager Modifier and Type Field Description private InjectionManager
MonitoringEventListener. injectionManager
Constructors in org.glassfish.jersey.server.internal.monitoring with parameters of type InjectionManager Constructor Description MonitoringStatisticsProcessor(InjectionManager injectionManager, MonitoringEventListener monitoringEventListener)
Creates a new instance of processor. -
Uses of InjectionManager in org.glassfish.jersey.server.internal.process
Fields in org.glassfish.jersey.server.internal.process declared as InjectionManager Modifier and Type Field Description private InjectionManager
ReferencesInitializer. injectionManager
private InjectionManager
RequestProcessingContext. injectionManager
Methods in org.glassfish.jersey.server.internal.process that return InjectionManager Modifier and Type Method Description InjectionManager
RequestProcessingContext. injectionManager()
Get injection manager.Methods in org.glassfish.jersey.server.internal.process with parameters of type InjectionManager Modifier and Type Method Description void
RequestProcessingConfigurator. init(InjectionManager injectionManager, BootstrapBag bootstrapBag)
Constructors in org.glassfish.jersey.server.internal.process with parameters of type InjectionManager Constructor Description ReferencesInitializer(InjectionManager injectionManager, javax.inject.Provider<RequestProcessingContextReference> processingContextRefProvider)
Injection constructor.RequestProcessingContext(InjectionManager injectionManager, ContainerRequest request, UriRoutingContext routingContext, RequestEventBuilder monitoringEventBuilder, RequestEventListener monitoringEventListener)
Create new request processing context. -
Uses of InjectionManager in org.glassfish.jersey.server.model
Fields in org.glassfish.jersey.server.model declared as InjectionManager Modifier and Type Field Description private InjectionManager
ResourceMethodInvoker.Builder. injectionManager
Methods in org.glassfish.jersey.server.model with parameters of type InjectionManager Modifier and Type Method Description java.lang.Object
MethodHandler.ClassBasedMethodHandler. getInstance(InjectionManager injectionManager)
abstract java.lang.Object
MethodHandler. getInstance(InjectionManager injectionManager)
Get the injected resource method handler instance.java.lang.Object
MethodHandler.InstanceBasedMethodHandler. getInstance(InjectionManager injectionManager)
ResourceMethodInvoker.Builder
ResourceMethodInvoker.Builder. injectionManager(InjectionManager injectionManager)
Set runtime DI injection manager.Constructors in org.glassfish.jersey.server.model with parameters of type InjectionManager Constructor Description ResourceMethodInvoker(ResourceMethodDispatcher.Provider dispatcherProvider, ResourceMethodInvocationHandlerProvider invocationHandlerProvider, ResourceMethod method, ProcessingProviders processingProviders, InjectionManager injectionManager, javax.ws.rs.core.Configuration globalConfig, ConfiguredValidator validator)
-
Uses of InjectionManager in org.glassfish.jersey.server.model.internal
Methods in org.glassfish.jersey.server.model.internal with parameters of type InjectionManager Modifier and Type Method Description void
ResourceMethodInvokerConfigurator. init(InjectionManager injectionManager, BootstrapBag bootstrapBag)
void
ResourceMethodInvokerConfigurator. postInit(InjectionManager injectionManager, BootstrapBag bootstrapBag)
Constructors in org.glassfish.jersey.server.model.internal with parameters of type InjectionManager Constructor Description ResourceMethodInvocationHandlerFactory(InjectionManager injectionManager)
-
Uses of InjectionManager in org.glassfish.jersey.server.spi
Methods in org.glassfish.jersey.server.spi with parameters of type InjectionManager Modifier and Type Method 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.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. -
Uses of InjectionManager in org.glassfish.jersey.server.wadl.config
Methods in org.glassfish.jersey.server.wadl.config with parameters of type InjectionManager Modifier and Type Method Description WadlGenerator
WadlGeneratorConfig. createWadlGenerator(InjectionManager injectionManager)
Create a new instance ofWadlGenerator
, based on theWadlGeneratorDescription
s provided byWadlGeneratorConfig.configure()
.private static WadlGeneratorLoader.WadlGeneratorControl
WadlGeneratorLoader. loadWadlGenerator(InjectionManager injectionManager, WadlGeneratorDescription wadlGeneratorDescription, WadlGenerator wadlGeneratorDelegate)
(package private) static WadlGenerator
WadlGeneratorLoader. loadWadlGeneratorDescriptions(InjectionManager injectionManager, java.util.List<WadlGeneratorDescription> wadlGeneratorDescriptions)
(package private) static WadlGenerator
WadlGeneratorLoader. loadWadlGeneratorDescriptions(InjectionManager injectionManager, WadlGeneratorDescription... wadlGeneratorDescriptions)
-
Uses of InjectionManager in org.glassfish.jersey.server.wadl.internal
Fields in org.glassfish.jersey.server.wadl.internal declared as InjectionManager Modifier and Type Field Description private InjectionManager
WadlApplicationContextImpl. injectionManager
Constructors in org.glassfish.jersey.server.wadl.internal with parameters of type InjectionManager Constructor Description WadlApplicationContextImpl(InjectionManager injectionManager, javax.ws.rs.core.Configuration configuration, ExtendedResourceContext resourceContext)
Injection constructor.
-