com.sun.jersey.server.impl.model.parameter
Class HttpContextInjectableProvider
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpContextInjectableProvider
public HttpContextInjectableProvider()
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 contexta
- the annotation instancec
- the context instance
- Returns:
- an Injectable instance, otherwise null if an instance cannot
be created.
Copyright © 2013 Oracle Corporation. All Rights Reserved.