org.glassfish.jersey.server.internal.inject
Class ParameterInjectionBinder

java.lang.Object
  extended by org.glassfish.hk2.utilities.binding.AbstractBinder
      extended by org.glassfish.jersey.server.internal.inject.ParameterInjectionBinder
All Implemented Interfaces:
org.glassfish.hk2.api.DynamicConfiguration, org.glassfish.hk2.utilities.Binder

public class ParameterInjectionBinder
extends org.glassfish.hk2.utilities.binding.AbstractBinder

Injection binder providing support for JAX-RS and Jersey injection annotations. Namely, standard injection support for the following set of JAX-RS and Jersey annotations is provided by the binder:

@Context
Generic support for the @Context-based injection is provided so that the @Context annotation can be used interchangeably with e.g. standard @Inject dependency injection annotation.
@CookieParam
Support for cookie parameter injection as defined by the JAX-RS specification.
@FormParam
Support for form parameter injection as defined by the JAX-RS specification.
@HeaderParam
Support for request header parameter injection as defined by the JAX-RS specification.
@MatrixParam
Support for request URI matrix path parameter injection as defined by the JAX-RS specification.
@PathParam
Support for request URI path parameter injection as defined by the JAX-RS specification.
@QueryParam
Support for request URI query parameter injection as defined by the JAX-RS specification.
@Suspended
Support for AsyncResponse injection as defined by the JAX-RS specification.
@Uri
Jersey-specific support for WebTarget injection.

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

Constructor Summary
ParameterInjectionBinder()
           
 
Method Summary
 void configure()
           
 
Methods inherited from class org.glassfish.hk2.utilities.binding.AbstractBinder
addActiveDescriptor, addActiveDescriptor, addActiveDescriptor, addUnbindFilter, bind, bind, bind, bind, bind, bind, bind, bindAsContract, bindAsContract, bindFactory, bindFactory, bindFactory, commit, install
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParameterInjectionBinder

public ParameterInjectionBinder()
Method Detail

configure

public void configure()
Specified by:
configure in class org.glassfish.hk2.utilities.binding.AbstractBinder


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