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.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.
|
Modifier and Type | Method and Description |
---|---|
static InjectionManager |
InjectionManagerProvider.getInjectionManager(javax.ws.rs.core.FeatureContext featureContext)
Extract and return injection manager from
featureContext . |
static InjectionManager |
InjectionManagerProvider.getInjectionManager(javax.ws.rs.ext.ReaderInterceptorContext readerInterceptorContext)
Extract and return injection manager from
readerInterceptorContext . |
static InjectionManager |
InjectionManagerProvider.getInjectionManager(javax.ws.rs.ext.WriterInterceptorContext writerInterceptorContext)
Extract and return injection manager from
writerInterceptorContext . |
Modifier and Type | Field and Description |
---|---|
private InjectionManager |
ClientRuntime.injectionManager |
Modifier and Type | Method and Description |
---|---|
(package private) InjectionManager |
ClientRuntime.getInjectionManager()
Get injection manager.
|
InjectionManager |
ClientResponse.getInjectionManager() |
InjectionManager |
ClientRequest.getInjectionManager() |
static InjectionManager |
InjectionManagerClientProvider.getInjectionManager(javax.ws.rs.client.ClientRequestContext clientRequestContext)
Extract and return injection manager from
clientRequestContext . |
static InjectionManager |
InjectionManagerClientProvider.getInjectionManager(javax.ws.rs.client.ClientResponseContext clientResponseContext)
Extract and return injection manager from
clientResponseContext . |
Modifier and Type | Method and 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 |
ClientExecutorProvidersConfigurator.init(InjectionManager injectionManager,
BootstrapBag bootstrapBag) |
void |
ClientConfig.RuntimeConfigConfigurator.init(InjectionManager injectionManager,
BootstrapBag bootstrapBag) |
Constructor and 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 new
MessageBodyWorkers initialization function
for requests and responses. |
Modifier and Type | Field and Description |
---|---|
private InjectionManager |
EncodingFilter.injectionManager |
Modifier and Type | Class and Description |
---|---|
(package private) class |
AbstractHk2InjectionManager
Abstract class dedicated to implementations of
InjectionManager providing several convenient methods. |
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(java.lang.Object parent) |
(package private) abstract InjectionManager |
Hk2InjectionManagerFactory.Hk2InjectionManagerStrategy.createInjectionManager(java.lang.Object parent) |
private InjectionManager |
Hk2InjectionManagerFactory.initInjectionManager(InjectionManager injectionManager) |
Modifier and Type | Method and Description |
---|---|
private InjectionManager |
Hk2InjectionManagerFactory.initInjectionManager(InjectionManager injectionManager) |
Modifier and Type | Method and Description |
---|---|
private LazyValue<java.util.Set<ExceptionMapperFactory.ExceptionMapperType>> |
ExceptionMapperFactory.createLazyExceptionMappers(InjectionManager injectionManager)
Returns
LazyValue of exception mappers that delays their creation to the first use. |
void |
JaxrsProviders.ProvidersConfigurator.init(InjectionManager injectionManager,
BootstrapBag bootstrapBag) |
void |
ExceptionMapperFactory.ExceptionMappersConfigurator.init(InjectionManager injectionManager,
BootstrapBag bootstrapBag) |
void |
ContextResolverFactory.ContextResolversConfigurator.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 |
AutoDiscoverableConfigurator.init(InjectionManager injectionManager,
BootstrapBag bootstrapBag) |
void |
ExceptionMapperFactory.ExceptionMappersConfigurator.postInit(InjectionManager injectionManager,
BootstrapBag bootstrapBag) |
void |
ContextResolverFactory.ContextResolversConfigurator.postInit(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. |
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 | Field and Description |
---|---|
private InjectionManager |
ProviderBinder.injectionManager |
private InjectionManager |
AbstractBinder.injectionManager |
Modifier and Type | Method and 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 a
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(java.lang.Object parent)
Creates an unnamed, parented
InjectionManager . |
InjectionManager |
InjectionManagerSupplier.getInjectionManager()
Get injection manager.
|
Modifier and Type | Method and 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,
InjectionManager injectionManager)
Bind all providers contained in
providerBag (classes and instances) using 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 in
providerBag (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 underlying
injection 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 underlying
injection manager container ordered based on the given comparator . |
static <T> java.lang.Iterable<T> |
Providers.getAllProviders(InjectionManager injectionManager,
java.lang.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> java.lang.Iterable<RankedProvider<T>> |
Providers.getAllRankedProviders(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 underlying injection 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 underlying
injection manager container and automatically sorted using
ranked comparator . |
static <T> java.util.Collection<ServiceHolder<T>> |
Providers.getAllServiceHolders(InjectionManager injectionManager,
java.lang.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 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 underlying
injection 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 underlying
injection 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)
Sets
InjectionManager to be able to create instance providers using the injection manager. |
Constructor and Description |
---|
ProviderBinder(InjectionManager injectionManager)
Create new provider binder instance.
|
Constructor and Description |
---|
CommonScopeProvider(javax.ws.rs.core.Configuration config,
InjectionManager injectionManager)
Create new common scope provider with injected
configuration and
injection manager . |
EntityInspectorImpl(InjectionManager injectionManager)
Constructor expecting
InjectionManager 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 injected
configuration and
jersey injection manager . |
Modifier and Type | Field and Description |
---|---|
private InjectionManager |
WriterInterceptorExecutor.injectionManager |
private InjectionManager |
MessageBodyFactory.injectionManager |
private InjectionManager |
ReaderInterceptorExecutor.injectionManager |
Modifier and Type | Method and Description |
---|---|
InjectionManager |
WriterInterceptorExecutor.getInjectionManager() |
InjectionManager |
ReaderInterceptorExecutor.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 |
---|
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 provided
entityStream . |
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 provided
entityStream . |
Modifier and Type | Field and Description |
---|---|
private InjectionManager |
ManagedObjectsFinalizer.injectionManager |
private InjectionManager |
FeatureContextWrapper.injectionManager |
Modifier and Type | Field and Description |
---|---|
static java.util.function.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,
java.util.Collection<AutoDiscoverable> autoDiscoverables,
boolean forcedOnly)
Configure
auto-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 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> 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)
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(javax.ws.rs.core.FeatureContext context,
InjectionManager injectionManager)
Create a new instance of wrapper.
|
ManagedObjectsFinalizer(InjectionManager injectionManager)
Creates a new instance of
ManagedObjectsFinalizer . |
Modifier and Type | Method and 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 qualified
ExecutorService and ScheduledExecutorService injection bindings based on the registered
providers implementing the ExecutorServiceProvider and/or ScheduledExecutorServiceProvider SPI. |
static void |
ExecutorProviders.registerExecutorBindings(InjectionManager injectionManager,
java.util.List<ExecutorServiceProvider> executorProviders,
java.util.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)
Retrieves registered
ExecutorServiceProvider and ScheduledExecutorServiceProvider by an application and
adds the default implementations of those interfaces to binds them into InjectionManager . |
Modifier and Type | Field and Description |
---|---|
private InjectionManager |
ServerRuntime.injectionManager |
private InjectionManager |
ApplicationHandler.injectionManager |
Modifier and Type | Method and Description |
---|---|
InjectionManager |
ApplicationHandler.getInjectionManager()
Returns
InjectionManager relevant to current application. |
Modifier and Type | Method and 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 |
ExternalRequestScopeConfigurator.init(InjectionManager injectionManager,
BootstrapBag bootstrapBag) |
void |
JerseyResourceContextConfigurator.init(InjectionManager injectionManager,
BootstrapBag bootstrapBag) |
void |
ContainerProviderConfigurator.init(InjectionManager injectionManager,
BootstrapBag bootstrapBag) |
void |
ProcessingProvidersConfigurator.init(InjectionManager injectionManager,
BootstrapBag bootstrapBag) |
void |
ModelProcessorConfigurator.init(InjectionManager injectionManager,
BootstrapBag bootstrapBag) |
void |
ResourceModelConfigurator.init(InjectionManager injectionManager,
BootstrapBag bootstrapBag) |
void |
ServerExecutorProvidersConfigurator.init(InjectionManager injectionManager,
BootstrapBag bootstrapBag) |
void |
ComponentProviderConfigurator.init(InjectionManager injectionManager,
BootstrapBag bootstrapBag) |
void |
ResourceBagConfigurator.init(InjectionManager injectionManager,
BootstrapBag bootstrapBag) |
void |
ApplicationHandler.RuntimeConfigConfigurator.init(InjectionManager injectionManager,
BootstrapBag bootstrapBag) |
private void |
ApplicationHandler.initialize(ApplicationConfigurator applicationConfigurator,
InjectionManager injectionManager,
Binder customBinder) |
private ServerRuntime |
ApplicationHandler.initialize(InjectionManager injectionManager,
java.util.List<BootstrapConfigurator> bootstrapConfigurators,
ServerBootstrapBag bootstrapBag)
Assumes the configuration field is initialized with a valid ResourceConfig.
|
private static void |
ApplicationHandler.logApplicationInitConfiguration(InjectionManager injectionManager,
ResourceBag resourceBag,
ProcessingProviders processingProviders) |
void |
JerseyResourceContextConfigurator.postInit(InjectionManager injectionManager,
BootstrapBag bootstrapBag) |
void |
ProcessingProvidersConfigurator.postInit(InjectionManager injectionManager,
BootstrapBag bootstrapBag) |
void |
ComponentProviderConfigurator.postInit(InjectionManager injectionManager,
BootstrapBag bootstrapBag) |
Constructor and 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) |
Modifier and Type | Field and Description |
---|---|
private InjectionManager |
EncodingFilter.injectionManager |
Modifier and Type | Field and Description |
---|---|
private InjectionManager |
BeanParamValueParamProvider.injectionManager |
private InjectionManager |
BeanParamValueParamProvider.BeanParamValueProvider.injectionManager |
Modifier and Type | Method and Description |
---|---|
void |
ParamExtractorConfigurator.init(InjectionManager injectionManager,
BootstrapBag bootstrapBag) |
void |
ParamConverterConfigurator.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) |
Constructor and Description |
---|
BeanParamValueParamProvider(javax.inject.Provider<MultivaluedParameterExtractorProvider> mpep,
InjectionManager injectionManager)
Creates new instance initialized from parameters injected by HK2.
|
BeanParamValueProvider(InjectionManager injectionManager,
Parameter parameter) |
Modifier and Type | Field and Description |
---|---|
private InjectionManager |
MonitoringEventListener.injectionManager |
Constructor and Description |
---|
MonitoringStatisticsProcessor(InjectionManager injectionManager,
MonitoringEventListener monitoringEventListener)
Creates a new instance of processor.
|
Modifier and Type | Field and Description |
---|---|
private InjectionManager |
ReferencesInitializer.injectionManager |
private InjectionManager |
RequestProcessingContext.injectionManager |
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,
javax.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 | Field and Description |
---|---|
private InjectionManager |
ResourceMethodInvoker.Builder.injectionManager |
Modifier and Type | Method and Description |
---|---|
abstract java.lang.Object |
MethodHandler.getInstance(InjectionManager injectionManager)
Get the injected resource method handler instance.
|
java.lang.Object |
MethodHandler.ClassBasedMethodHandler.getInstance(InjectionManager injectionManager) |
java.lang.Object |
MethodHandler.InstanceBasedMethodHandler.getInstance(InjectionManager injectionManager) |
ResourceMethodInvoker.Builder |
ResourceMethodInvoker.Builder.injectionManager(InjectionManager injectionManager)
Set runtime DI injection manager.
|
Constructor and Description |
---|
ResourceMethodInvoker(ResourceMethodDispatcher.Provider dispatcherProvider,
ResourceMethodInvocationHandlerProvider invocationHandlerProvider,
ResourceMethod method,
ProcessingProviders processingProviders,
InjectionManager injectionManager,
javax.ws.rs.core.Configuration globalConfig,
ConfiguredValidator validator) |
Modifier and Type | Method and Description |
---|---|
void |
ResourceMethodInvokerConfigurator.init(InjectionManager injectionManager,
BootstrapBag bootstrapBag) |
void |
ResourceMethodInvokerConfigurator.postInit(InjectionManager injectionManager,
BootstrapBag bootstrapBag) |
Constructor and Description |
---|
ResourceMethodInvocationHandlerFactory(InjectionManager injectionManager) |
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.
|
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() . |
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) |
Modifier and Type | Field and Description |
---|---|
private InjectionManager |
WadlApplicationContextImpl.injectionManager |
Constructor and Description |
---|
WadlApplicationContextImpl(InjectionManager injectionManager,
javax.ws.rs.core.Configuration configuration,
ExtendedResourceContext resourceContext)
Injection constructor.
|