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

java.lang.Object
  extended by org.glassfish.jersey.internal.inject.AbstractModule
      extended by org.glassfish.jersey.server.internal.inject.ParameterInjectionModule
All Implemented Interfaces:
org.glassfish.hk2.BinderFactory, org.glassfish.hk2.Module

public class ParameterInjectionModule
extends AbstractModule

Module providing support for JAX-RS context injection. Namely, standard injection support for the following set of JAX-RS context annotations is provided by the module:

@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.
@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.
@MatrixParam
Support for request URI matrix path parameter injection as defined by the JAX-RS specification.
@HeaderParam
Support for request header parameter injection as defined by the JAX-RS specification.
@FormParam
Support for form parameter injection as defined by the JAX-RS specification.
@CookieParam
Support for cookie parameter injection as defined by the JAX-RS specification.

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

Constructor Summary
ParameterInjectionModule()
           
 
Method Summary
 void configure()
           
 
Methods inherited from class org.glassfish.jersey.internal.inject.AbstractModule
bind, bind, bind, bind, bind, configure, inParent, install
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParameterInjectionModule

public ParameterInjectionModule()
Method Detail

configure

public void configure()
Specified by:
configure in class AbstractModule


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