public final class ReferencesInitializer extends Object implements Function<RequestProcessingContext,RequestProcessingContext>
Constructor and Description |
---|
ReferencesInitializer(InjectionManager injectionManager,
jakarta.inject.Provider<RequestProcessingContextReference> processingContextRefProvider)
Injection constructor.
|
Modifier and Type | Method and Description |
---|---|
RequestProcessingContext |
apply(RequestProcessingContext context)
Initialize the request references using the incoming request processing context.
|
public ReferencesInitializer(InjectionManager injectionManager, jakarta.inject.Provider<RequestProcessingContextReference> processingContextRefProvider)
injectionManager
- application injection manager.processingContextRefProvider
- container request reference provider (request-scoped).public RequestProcessingContext apply(RequestProcessingContext context)
apply
in interface Function<RequestProcessingContext,RequestProcessingContext>
context
- incoming request context.Copyright © 2007-2024, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.