com.sun.jersey.server.impl.model.parameter
Class HttpContextInjectableProvider

java.lang.Object
  extended by com.sun.jersey.server.impl.model.parameter.HttpContextInjectableProvider
All Implemented Interfaces:
InjectableProvider<Context,Type>

public final class HttpContextInjectableProvider
extends Object
implements InjectableProvider<Context,Type>

Author:
Paul.Sandoz@Sun.Com

Constructor Summary
HttpContextInjectableProvider()
           
 
Method Summary
 Injectable getInjectable(ComponentContext ic, Context a, Type c)
          Get an injectable.
 ComponentScope getScope()
          Get the scope of the injectable provider.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpContextInjectableProvider

public HttpContextInjectableProvider()
Method Detail

getScope

public ComponentScope getScope()
Description copied from interface: InjectableProvider
Get the scope of the injectable provider.

Specified by:
getScope in interface InjectableProvider<Context,Type>
Returns:
the scope.

getInjectable

public Injectable getInjectable(ComponentContext ic,
                                Context a,
                                Type c)
Description copied from interface: InjectableProvider
Get an injectable.

Specified by:
getInjectable in interface InjectableProvider<Context,Type>
Parameters:
ic - the injectable context
a - the annotation instance
c - the context instance
Returns:
an Injectable instance, otherwise null if an instance cannot be created.


Copyright © 2013 Oracle Corporation. All Rights Reserved.