Uses of Interface
org.glassfish.jersey.internal.inject.InjectionManager
Packages that use InjectionManager
Package
Description
Common Jersey core classes.
Jersey client-side classes.
Provides core client filters.
Jersey internal package supporting Jersey CDI integration.
Jersey internal SPI to support custom defined HK2 injection binding for Jersey/CDI applications.
Common Jersey internal API classes.
Common Jersey internal injection utility classes.
Common Jersey internal messaging classes.
Common Jersey internal model related classes and interfaces.
Jersey OAuth 1 Signature API and Implementation.
Common Jersey internal processing classes.
Jersey server-side classes.
Jersey server-side JAX-RS injection support classes.
Jersey server-side internal classes related to request and response processing.
Jersey server-side application & resource modeling classes.
Jersey server-side internal model related and routing helper classes.
Jersey server-side service provider contract (SPI) classes.
Jersey server-side WADL configuration classes.
Jersey server-side WADL internal classes.
Common Jersey service provider contract (SPI) classes.
-
Uses of InjectionManager in org.glassfish.jersey
Methods in org.glassfish.jersey that return InjectionManagerModifier and TypeMethodDescriptionstatic InjectionManagerInjectionManagerProvider.getInjectionManager(FeatureContext featureContext) Extract and return injection manager fromfeatureContext.static InjectionManagerInjectionManagerProvider.getInjectionManager(ReaderInterceptorContext readerInterceptorContext) Extract and return injection manager fromreaderInterceptorContext.static InjectionManagerInjectionManagerProvider.getInjectionManager(WriterInterceptorContext writerInterceptorContext) Extract and return injection manager fromwriterInterceptorContext. -
Uses of InjectionManager in org.glassfish.jersey.client
Methods in org.glassfish.jersey.client that return InjectionManagerModifier and TypeMethodDescriptionClientRequest.getInjectionManager()ClientResponse.getInjectionManager()static InjectionManagerInjectionManagerClientProvider.getInjectionManager(ClientRequestContext clientRequestContext) Extract and return injection manager fromclientRequestContext.static InjectionManagerInjectionManagerClientProvider.getInjectionManager(ClientResponseContext clientResponseContext) Extract and return injection manager fromclientResponseContext.Constructors in org.glassfish.jersey.client with parameters of type InjectionManagerModifierConstructorDescriptionRequestProcessingInitializationStage(jakarta.inject.Provider<Ref<ClientRequest>> requestRefProvider, MessageBodyWorkers workersProvider, InjectionManager injectionManager) Create newMessageBodyWorkersinitialization function for requests and responses. -
Uses of InjectionManager in org.glassfish.jersey.client.filter
Constructors in org.glassfish.jersey.client.filter with parameters of type InjectionManager -
Uses of InjectionManager in org.glassfish.jersey.client.internal.inject
Methods in org.glassfish.jersey.client.internal.inject with parameters of type InjectionManagerModifier and TypeMethodDescriptionvoidParameterUpdaterConfigurator.init(InjectionManager injectionManager, BootstrapBag bootstrapBag) -
Uses of InjectionManager in org.glassfish.jersey.ext.cdi1x.internal
Methods in org.glassfish.jersey.ext.cdi1x.internal that return InjectionManagerModifier and TypeMethodDescriptionCdiComponentProvider.getEffectiveInjectionManager()Gets you effective injection manager.GenericInjectionManagerStore.getEffectiveInjectionManager()abstract InjectionManagerGenericInjectionManagerStore.lookupInjectionManager()CDI container specific method to obtain the actual injection manager belonging to the Jersey application where the current HTTP requests is being processed.Methods in org.glassfish.jersey.ext.cdi1x.internal with parameters of type InjectionManagerModifier and TypeMethodDescriptionvoidCdiComponentProvider.initialize(InjectionManager injectionManager) voidCdiServerComponentProvider.initialize(InjectionManager injectionManager) voidGenericInjectionManagerStore.registerInjectionManager(InjectionManager injectionManager) Constructors in org.glassfish.jersey.ext.cdi1x.internal with parameters of type InjectionManagerModifierConstructorDescriptionAbstractCdiBeanSupplier(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) -
Uses of InjectionManager in org.glassfish.jersey.ext.cdi1x.internal.spi
Methods in org.glassfish.jersey.ext.cdi1x.internal.spi that return InjectionManagerModifier and TypeMethodDescriptionInjectionManagerStore.getEffectiveInjectionManager()Obtain the effectiveinjection manager.Methods in org.glassfish.jersey.ext.cdi1x.internal.spi with parameters of type InjectionManagerModifier and TypeMethodDescriptionvoidInjectionManagerStore.registerInjectionManager(InjectionManager injectionManager) Register a newinjection managerwith this manager.voidInjectionManagerInjectedTarget.setInjectionManager(InjectionManager injectionManager) Set the locator to be used to co-inject this injection target. -
Uses of InjectionManager in org.glassfish.jersey.inject.cdi.se
Classes in org.glassfish.jersey.inject.cdi.se that implement InjectionManagerModifier and TypeClassDescriptionclassImplementation ofInjectionManagerthat starts CDI SE container, scans all users bean according to beans.xml file and register Jersey's internal beans usingSeBeanRegisterExtensionextension.Methods in org.glassfish.jersey.inject.cdi.se that return InjectionManagerModifier and TypeMethodDescription -
Uses of InjectionManager in org.glassfish.jersey.inject.hk2
Classes in org.glassfish.jersey.inject.hk2 that implement InjectionManagerModifier and TypeClassDescriptionclassImplementation ofInjectionManagerthat is able to delay service's registration and injection toDelayedHk2InjectionManager.completeRegistration()phase.classImplementation ofInjectionManagerthat is able to register and inject services.Methods in org.glassfish.jersey.inject.hk2 that return InjectionManagerModifier and TypeMethodDescription -
Uses of InjectionManager in org.glassfish.jersey.internal
Methods in org.glassfish.jersey.internal with parameters of type InjectionManagerModifier and TypeMethodDescriptionvoidAutoDiscoverableConfigurator.init(InjectionManager injectionManager, BootstrapBag bootstrapBag) voidBootstrapConfigurator.init(InjectionManager injectionManager, BootstrapBag bootstrapBag) Pre-initialization method should only register services intoInjectionManagerand populateBootstrapBag.voidContextResolverFactory.ContextResolversConfigurator.init(InjectionManager injectionManager, BootstrapBag bootstrapBag) voidDynamicFeatureConfigurator.init(InjectionManager injectionManager, BootstrapBag bootstrapBag) voidExceptionMapperFactory.ExceptionMappersConfigurator.init(InjectionManager injectionManager, BootstrapBag bootstrapBag) voidFeatureConfigurator.init(InjectionManager injectionManager, BootstrapBag bootstrapBag) voidJaxrsProviders.ProvidersConfigurator.init(InjectionManager injectionManager, BootstrapBag bootstrapBag) default voidBootstrapConfigurator.postInit(InjectionManager injectionManager, BootstrapBag bootstrapBag) Post-initialization method can get services fromInjectionManagerand is not able to register the new one because injection manager is already completed.voidContextResolverFactory.ContextResolversConfigurator.postInit(InjectionManager injectionManager, BootstrapBag bootstrapBag) voidExceptionMapperFactory.ExceptionMappersConfigurator.postInit(InjectionManager injectionManager, BootstrapBag bootstrapBag) Constructors in org.glassfish.jersey.internal with parameters of type InjectionManagerModifierConstructorDescriptionExceptionMapperFactory(InjectionManager injectionManager) Create new exception mapper factory initialized withinjection managerinstance that will be used to look up all providers implementingExceptionMapperinterface. -
Uses of InjectionManager in org.glassfish.jersey.internal.inject
Methods in org.glassfish.jersey.internal.inject that return InjectionManagerModifier and TypeMethodDescriptiondefault InjectionManagerInjectionManagerFactory.create()Load a new injection manager without parent and initial binder.Load a new injection manager with parent object.static InjectionManagerInjections.createInjectionManager()Creates anInjectionManagerwithout parent and initial binder.static InjectionManagerInjections.createInjectionManager(RuntimeType type) Creates anInjectionManagerwithout parent and initial binder.static InjectionManagerInjections.createInjectionManager(Object parent) Creates an unnamed, parentedInjectionManager.static InjectionManagerInjections.createInjectionManager(Binder binder) Creates aInjectionManagerwith initial binder that is immediately registered.InjectionManagerSupplier.getInjectionManager()Get injection manager.Methods in org.glassfish.jersey.internal.inject with parameters of type InjectionManagerModifier and TypeMethodDescriptionstatic <T> voidProviderBinder.bindProvider(Class<T> providerClass, ContractProvider model, InjectionManager injectionManager) Bind contract provider model to a provider class using the supplied injection manager.static voidProviderBinder.bindProvider(Object providerInstance, ContractProvider model, InjectionManager injectionManager) Bind contract provider model to a provider instance using the supplied injection manager.static voidProviderBinder.bindProviders(ComponentBag componentBag, RuntimeType constrainedTo, Set<Class<?>> registeredClasses, InjectionManager injectionManager) Deprecated.static voidProviderBinder.bindProviders(ComponentBag componentBag, RuntimeType constrainedTo, Set<Class<?>> registeredClasses, InjectionManager injectionManager, Collection<ComponentProvider> componentProviders) Bind all providers contained inproviderBag(classes and instances) using injection manager.static voidProviderBinder.bindProviders(ComponentBag componentBag, InjectionManager injectionManager) Bind all providers contained inproviderBag(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 underlyinginjection managercontainer.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 underlyinginjection managercontainer ordered based on the givencomparator.static <T> Iterable<T>Providers.getAllProviders(InjectionManager injectionManager, 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 managercontainer.static <T> Iterable<RankedProvider<T>>Providers.getAllRankedProviders(InjectionManager injectionManager, Class<T> contract) Get the iterable of allproviders(custom and default) registered for the given service provider contract in the underlyinginjection managercontainer.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 underlyinginjection managercontainer and automatically sorted usingranked comparator.static <T> Collection<ServiceHolder<T>>Providers.getAllServiceHolders(InjectionManager injectionManager, Class<T> contract) Get collection of allServiceHolders bound for providers (custom and default) registered for the given service provider contract in the underlyinginjection managercontainer.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 underlyinginjection managercontainer.static <T> TInjections.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 underlyinginjection managercontainer.voidParamConverterConfigurator.init(InjectionManager injectionManager, BootstrapBag bootstrapBag) Constructors in org.glassfish.jersey.internal.inject with parameters of type InjectionManagerModifierConstructorDescriptionAggregatedProvider(InjectionManager manager, Configuration configuration) Create new aggregatedparam converter provider.OptionalCustomProvider(InjectionManager manager, boolean canReturnNull) ProviderBinder(InjectionManager injectionManager) Create new provider binder instance. -
Uses of InjectionManager in org.glassfish.jersey.jaxb.internal
Constructors in org.glassfish.jersey.jaxb.internal with parameters of type InjectionManagerModifierConstructorDescriptionDocumentBuilderFactoryInjectionProvider(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. -
Uses of InjectionManager in org.glassfish.jersey.message.internal
Methods in org.glassfish.jersey.message.internal that return InjectionManagerModifier and TypeMethodDescriptionReaderInterceptorExecutor.getInjectionManager()WriterInterceptorExecutor.getInjectionManager()Methods in org.glassfish.jersey.message.internal with parameters of type InjectionManagerModifier and TypeMethodDescriptionvoidMessageBodyFactory.MessageBodyWorkersConfigurator.init(InjectionManager injectionManager, BootstrapBag bootstrapBag) voidMessageBodyFactory.initialize(InjectionManager injectionManager) Must be initialize at the time of completed populatedInjectionManager.voidMessageBodyFactory.MessageBodyWorkersConfigurator.postInit(InjectionManager injectionManager, BootstrapBag bootstrapBag) Constructors in org.glassfish.jersey.message.internal with parameters of type InjectionManagerModifierConstructorDescriptionWriterInterceptorExecutor(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 providedentityStream. -
Uses of InjectionManager in org.glassfish.jersey.model.internal
Fields in org.glassfish.jersey.model.internal with type parameters of type InjectionManagerModifier and TypeFieldDescriptionstatic final BiPredicate<ContractProvider,InjectionManager> ComponentBag.EXTERNAL_ONLYA filtering strategy that includes only models that contain contract registrable byInjectionManager.Methods in org.glassfish.jersey.model.internal that return InjectionManagerMethods in org.glassfish.jersey.model.internal with parameters of type InjectionManagerModifier and TypeMethodDescriptionvoidCommonConfig.configureAutoDiscoverableProviders(InjectionManager injectionManager, Collection<AutoDiscoverable> autoDiscoverables, boolean forcedOnly) Configureauto-discoverablesin the injection manager.voidCommonConfig.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 thePredicatewhich is able to filter all Jersey meta-providers along with the components which is able to register the current usedInjectionManager.static <T> List<T>ComponentBag.getFromBinders(InjectionManager injectionManager, ComponentBag componentBag, Function<Object, T> cast, Predicate<Binding> filter) IfTobject is registered inComponentBagusing theBinder,Tis 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 InjectionManagerModifierConstructorDescriptionFeatureContextWrapper(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 InjectionManagerModifierConstructorDescriptionOAuth1Signature(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 InjectionManagerModifier and TypeMethodDescriptionvoidRequestScope.RequestScopeConfigurator.init(InjectionManager injectionManagerFactory, BootstrapBag bootstrapBag) voidRequestScope.RequestScopeConfigurator.postInit(InjectionManager injectionManager, BootstrapBag bootstrapBag) static voidExecutorProviders.registerExecutorBindings(InjectionManager injectionManager) Create qualifiedExecutorServiceandScheduledExecutorServiceinjection bindings based on the registered providers implementing theExecutorServiceProviderand/orScheduledExecutorServiceProviderSPI.static voidExecutorProviders.registerExecutorBindings(InjectionManager injectionManager, List<ExecutorServiceProvider> executorProviders, List<ScheduledExecutorServiceProvider> scheduledProviders) Create qualifiedExecutorServiceandScheduledExecutorServiceinjection bindings based on the registered providers implementing theExecutorServiceProviderand/orScheduledExecutorServiceProviderSPI.protected voidAbstractExecutorProvidersConfigurator.registerExecutors(InjectionManager injectionManager, ComponentBag componentBag, ExecutorServiceProvider defaultAsyncExecutorProvider, ScheduledExecutorServiceProvider defaultScheduledExecutorProvider, ManagedObjectsFinalizer finalizer) Retrieves registeredExecutorServiceProviderandScheduledExecutorServiceProviderby an application and adds the default implementations of those interfaces to binds them intoInjectionManager. -
Uses of InjectionManager in org.glassfish.jersey.server
Methods in org.glassfish.jersey.server that return InjectionManagerModifier and TypeMethodDescriptionApplicationHandler.getInjectionManager()ReturnsInjectionManagerrelevant to current application.Methods in org.glassfish.jersey.server with parameters of type InjectionManagerModifier and TypeMethodDescriptionvoidResourceModelConfigurator.init(InjectionManager injectionManager, BootstrapBag bootstrapBag) -
Uses of InjectionManager in org.glassfish.jersey.server.internal.inject
Methods in org.glassfish.jersey.server.internal.inject with parameters of type InjectionManagerModifier and TypeMethodDescriptionvoidParamExtractorConfigurator.init(InjectionManager injectionManager, BootstrapBag bootstrapBag) voidValueParamProviderConfigurator.init(InjectionManager injectionManager, BootstrapBag bootstrapBag) voidValueParamProviderConfigurator.postInit(InjectionManager injectionManager, BootstrapBag bootstrapBag) -
Uses of InjectionManager in org.glassfish.jersey.server.internal.process
Methods in org.glassfish.jersey.server.internal.process that return InjectionManagerModifier and TypeMethodDescriptionRequestProcessingContext.injectionManager()Get injection manager.Methods in org.glassfish.jersey.server.internal.process with parameters of type InjectionManagerModifier and TypeMethodDescriptionvoidRequestProcessingConfigurator.init(InjectionManager injectionManager, BootstrapBag bootstrapBag) Constructors in org.glassfish.jersey.server.internal.process with parameters of type InjectionManagerModifierConstructorDescriptionReferencesInitializer(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. -
Uses of InjectionManager in org.glassfish.jersey.server.model
Methods in org.glassfish.jersey.server.model with parameters of type InjectionManagerModifier and TypeMethodDescriptionabstract ObjectMethodHandler.getInstance(InjectionManager injectionManager) Get the injected resource method handler instance.ResourceMethodInvoker.Builder.injectionManager(InjectionManager injectionManager) Set runtime DI injection manager. -
Uses of InjectionManager in org.glassfish.jersey.server.model.internal
Methods in org.glassfish.jersey.server.model.internal with parameters of type InjectionManagerModifier and TypeMethodDescriptionvoidResourceMethodInvokerConfigurator.init(InjectionManager injectionManager, BootstrapBag bootstrapBag) voidResourceMethodInvokerConfigurator.postInit(InjectionManager injectionManager, BootstrapBag bootstrapBag) -
Uses of InjectionManager in org.glassfish.jersey.server.spi
Methods in org.glassfish.jersey.server.spi with parameters of type InjectionManagerModifier and TypeMethodDescriptionvoidRequestScopedInitializer.initialize(InjectionManager injectionManager) Perform request-scoped initialization.ExternalRequestScope.open(InjectionManager injectionManager) Invoked when a new request gets started.voidExternalRequestScope.resume(ExternalRequestContext<T> c, InjectionManager injectionManager) Resume request associated with provided context.voidExternalRequestScope.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 InjectionManagerModifier and TypeMethodDescriptionWadlGeneratorConfig.createWadlGenerator(InjectionManager injectionManager) Create a new instance ofWadlGenerator, based on theWadlGeneratorDescriptions provided byWadlGeneratorConfig.configure(). -
Uses of InjectionManager in org.glassfish.jersey.server.wadl.internal
Constructors in org.glassfish.jersey.server.wadl.internal with parameters of type InjectionManagerModifierConstructorDescriptionWadlApplicationContextImpl(InjectionManager injectionManager, Configuration configuration, ExtendedResourceContext resourceContext) Injection constructor. -
Uses of InjectionManager in org.glassfish.jersey.spi
Methods in org.glassfish.jersey.spi with parameters of type InjectionManagerModifier and TypeMethodDescriptionvoidComponentProvider.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.