org.glassfish.jersey.server.internal.inject
Class AbstractContainerRequestValueFactory<T>

java.lang.Object
  extended by org.glassfish.jersey.server.internal.inject.AbstractContainerRequestValueFactory<T>
Type Parameters:
T - the type of the injectable value.
All Implemented Interfaces:
org.glassfish.hk2.api.Factory<T>

public abstract class AbstractContainerRequestValueFactory<T>
extends Object
implements org.glassfish.hk2.api.Factory<T>

An abstract value factory that provides access to the current ContainerRequest instance.

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

Constructor Summary
AbstractContainerRequestValueFactory()
           
 
Method Summary
 void dispose(T instance)
           
protected  ContainerRequest getContainerRequest()
          Get the container request.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.glassfish.hk2.api.Factory
provide
 

Constructor Detail

AbstractContainerRequestValueFactory

public AbstractContainerRequestValueFactory()
Method Detail

dispose

public void dispose(T instance)
Specified by:
dispose in interface org.glassfish.hk2.api.Factory<T>

getContainerRequest

protected final ContainerRequest getContainerRequest()
Get the container request.

Returns:
the container request.


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