org.glassfish.jersey.internal.inject
Class ContextInjectionResolver
java.lang.Object
com.sun.hk2.component.InjectionResolver<javax.ws.rs.core.Context>
org.glassfish.jersey.internal.inject.ContextInjectionResolver
- All Implemented Interfaces:
- com.sun.hk2.component.InjectionResolverQuery
public class ContextInjectionResolver
- extends com.sun.hk2.component.InjectionResolver<javax.ws.rs.core.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 |
| 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(AnnotatedElement annotated,
javax.ws.rs.core.Context annotation)
- Overrides:
isOptional in class com.sun.hk2.component.InjectionResolver<javax.ws.rs.core.Context>
getValue
public <V> V getValue(Object component,
org.jvnet.hk2.component.Inhabitant<?> onBehalfOf,
AnnotatedElement annotated,
Type genericType,
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.