org.glassfish.jersey.internal.inject
Class ContextInjectionResolver
java.lang.Object
com.sun.hk2.component.InjectionResolver<Context>
org.glassfish.jersey.internal.inject.ContextInjectionResolver
- All Implemented Interfaces:
- com.sun.hk2.component.InjectionResolverQuery
public class ContextInjectionResolver
- extends com.sun.hk2.component.InjectionResolver<Context>
Injection resolver for @Context injection annotation.
- Author:
- Marek Potociar (marek.potociar at oracle.com)
| Fields inherited from class com.sun.hk2.component.InjectionResolver |
type |
|
Method Summary |
|
getValue(java.lang.Object component,
org.jvnet.hk2.component.Inhabitant<?> onBehalfOf,
java.lang.reflect.AnnotatedElement annotated,
java.lang.reflect.Type genericType,
java.lang.Class<V> type)
|
boolean |
isOptional(java.lang.reflect.AnnotatedElement annotated,
Context annotation)
|
| Methods inherited from class com.sun.hk2.component.InjectionResolver |
getSetterMethod |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContextInjectionResolver
public ContextInjectionResolver()
isOptional
public boolean isOptional(java.lang.reflect.AnnotatedElement annotated,
Context annotation)
- Overrides:
isOptional in class com.sun.hk2.component.InjectionResolver<Context>
getValue
public <V> V getValue(java.lang.Object component,
org.jvnet.hk2.component.Inhabitant<?> onBehalfOf,
java.lang.reflect.AnnotatedElement annotated,
java.lang.reflect.Type genericType,
java.lang.Class<V> type)
throws org.jvnet.hk2.component.ComponentException
- Throws:
org.jvnet.hk2.component.ComponentException
Copyright © 2007-2012 Oracle Corporation. All Rights Reserved. Use is subject to license terms.