com.sun.jersey.server.impl.inject
Class InjectableValuesProvider
java.lang.Object
com.sun.jersey.server.impl.inject.InjectableValuesProvider
public class InjectableValuesProvider
- extends Object
A hold of a list of injectable that obtains the injectable values
from that list.
- Author:
- Paul.Sandoz@Sun.Com
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InjectableValuesProvider
public InjectableValuesProvider(List<Injectable> is)
- Create a new instance given a list of injectable.
- Parameters:
is
- the list of injectable.
getInjectables
public List<AbstractHttpContextInjectable> getInjectables()
getInjectableValues
public Object[] getInjectableValues(HttpContext context)
- Get the injectable values.
- Parameters:
context
- the http contest.
- Returns:
- the injectable values. Each element in the object array
is a value obtained from the injectable at the list index
that is the element index.
Copyright © 2013 Oracle Corporation. All Rights Reserved.