org.glassfish.jersey.server.internal.inject
Class ParamInjectionResolver<A extends Annotation>

java.lang.Object
  extended by org.glassfish.jersey.server.internal.inject.ParamInjectionResolver<A>
Type Parameters:
A - supported parameter injection annotation.
All Implemented Interfaces:
InjectionResolver<A>

public abstract class ParamInjectionResolver<A extends Annotation>
extends Object
implements InjectionResolver<A>

Abstract base class for resolving JAX-RS &#64;XxxParam injection.

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

Field Summary
 
Fields inherited from interface org.glassfish.hk2.api.InjectionResolver
SYSTEM_RESOLVER_NAME
 
Constructor Summary
ParamInjectionResolver(Class<? extends ValueFactoryProvider> valueFactoryProviderClass)
          Initialize the base parameter injection resolver.
 
Method Summary
 boolean isConstructorParameterIndicator()
           
 boolean isMethodParameterIndicator()
           
 Object resolve(Injectee injectee, ServiceHandle<?> root)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParamInjectionResolver

public ParamInjectionResolver(Class<? extends ValueFactoryProvider> valueFactoryProviderClass)
Initialize the base parameter injection resolver.

Parameters:
valueFactoryProviderClass - parameter value factory provider class.
Method Detail

resolve

public Object resolve(Injectee injectee,
                      ServiceHandle<?> root)
Specified by:
resolve in interface InjectionResolver<A extends Annotation>

isConstructorParameterIndicator

public boolean isConstructorParameterIndicator()
Specified by:
isConstructorParameterIndicator in interface InjectionResolver<A extends Annotation>

isMethodParameterIndicator

public boolean isMethodParameterIndicator()
Specified by:
isMethodParameterIndicator in interface InjectionResolver<A extends Annotation>


Copyright © 2007-2012 Oracle Corporation. All Rights Reserved. Use is subject to license terms.