org.glassfish.jersey.internal.inject
Class ContextInjectionResolver

java.lang.Object
  extended by org.glassfish.jersey.internal.inject.ContextInjectionResolver
All Implemented Interfaces:
org.glassfish.hk2.api.InjectionResolver<Context>

@Singleton
public class ContextInjectionResolver
extends Object
implements org.glassfish.hk2.api.InjectionResolver<Context>

Injection resolver for @Context injection annotation.

Author:
Marek Potociar (marek.potociar at oracle.com)

Nested Class Summary
static class ContextInjectionResolver.Binder
          Context injection resolver HK2 binder.
 
Field Summary
 
Fields inherited from interface org.glassfish.hk2.api.InjectionResolver
SYSTEM_RESOLVER_NAME
 
Constructor Summary
ContextInjectionResolver()
           
 
Method Summary
 boolean isConstructorParameterIndicator()
           
 boolean isMethodParameterIndicator()
           
 Object resolve(org.glassfish.hk2.api.Injectee injectee, org.glassfish.hk2.api.ServiceHandle<?> root)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContextInjectionResolver

public ContextInjectionResolver()
Method Detail

resolve

public Object resolve(org.glassfish.hk2.api.Injectee injectee,
                      org.glassfish.hk2.api.ServiceHandle<?> root)
Specified by:
resolve in interface org.glassfish.hk2.api.InjectionResolver<Context>

isConstructorParameterIndicator

public boolean isConstructorParameterIndicator()
Specified by:
isConstructorParameterIndicator in interface org.glassfish.hk2.api.InjectionResolver<Context>

isMethodParameterIndicator

public boolean isMethodParameterIndicator()
Specified by:
isMethodParameterIndicator in interface org.glassfish.hk2.api.InjectionResolver<Context>


Copyright © 2007-2014, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.