@Singleton public class ContextInjectionResolverImpl extends Object implements InjectionResolver<Context>, org.glassfish.jersey.internal.inject.ContextInjectionResolver
@Context
injection annotation.Modifier and Type | Class and Description |
---|---|
static class |
ContextInjectionResolverImpl.Binder
Context injection resolver binder.
|
SYSTEM_RESOLVER_NAME
Constructor and Description |
---|
ContextInjectionResolverImpl() |
Modifier and Type | Method and Description |
---|---|
Class<Context> |
getAnnotation()
This method returns the annotation for what the injection resolver is implemented.
|
boolean |
isConstructorParameterIndicator()
This method should return true if the annotation that indicates that this is an injection point can appear in the parameter
list of a constructor.
|
boolean |
isMethodParameterIndicator()
This method should return true if the annotation that indicates that this is an injection point can appear in the parameter
list of a method.
|
Object |
resolve(org.glassfish.jersey.internal.inject.Injectee injectee)
Jersey Injection Resolver method that just populate HK2 injectee object and delegates the processing to HK2 Injection
Resolver.
|
Object |
resolve(Injectee injectee,
ServiceHandle<?> root) |
public Object resolve(Injectee injectee, ServiceHandle<?> root)
public Object resolve(org.glassfish.jersey.internal.inject.Injectee injectee)
resolve
in interface org.glassfish.jersey.internal.inject.InjectionResolver<Context>
injectee
- The injection point this value is being injected intopublic boolean isConstructorParameterIndicator()
org.glassfish.jersey.internal.inject.InjectionResolver
isConstructorParameterIndicator
in interface org.glassfish.jersey.internal.inject.InjectionResolver<Context>
public boolean isMethodParameterIndicator()
org.glassfish.jersey.internal.inject.InjectionResolver
isMethodParameterIndicator
in interface org.glassfish.jersey.internal.inject.InjectionResolver<Context>
public Class<Context> getAnnotation()
org.glassfish.jersey.internal.inject.InjectionResolver
getAnnotation
in interface org.glassfish.jersey.internal.inject.InjectionResolver<Context>
Copyright © 2007-2023, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.