final class AsyncResponseValueFactoryProvider extends java.lang.Object implements ValueFactoryProvider
Suspended
injection annotation.Modifier and Type | Class and Description |
---|---|
(package private) static class |
AsyncResponseValueFactoryProvider.InjectionResolver
Suspended injection resolver. |
ValueFactoryProvider.Priority, ValueFactoryProvider.PriorityType
Modifier and Type | Field and Description |
---|---|
private javax.inject.Provider<AsyncContext> |
asyncContextProvider |
Constructor and Description |
---|
AsyncResponseValueFactoryProvider(javax.inject.Provider<AsyncContext> asyncContextProvider)
Initialize the provider.
|
Modifier and Type | Method and Description |
---|---|
ValueFactoryProvider.PriorityType |
getPriority()
Gets the priority of this provider.
|
org.glassfish.hk2.api.Factory<?> |
getValueFactory(Parameter parameter)
Get an injected value factory for the parameter.
|
private final javax.inject.Provider<AsyncContext> asyncContextProvider
@Inject public AsyncResponseValueFactoryProvider(javax.inject.Provider<AsyncContext> asyncContextProvider)
asyncContextProvider
- async processing context provider.public org.glassfish.hk2.api.Factory<?> getValueFactory(Parameter parameter)
ValueFactoryProvider
null
in case the parameter is not supported by the value factory provider.getValueFactory
in interface ValueFactoryProvider
parameter
- parameter requesting the value factory instance.null
if parameter
is not supported.public ValueFactoryProvider.PriorityType getPriority()
ValueFactoryProvider
getPriority
in interface ValueFactoryProvider
ValueFactoryProvider.PriorityType
,
ValueFactoryProvider.Priority