com.sun.jersey.server.impl.inject
Class InjectableValuesProvider

java.lang.Object
  extended by com.sun.jersey.server.impl.inject.InjectableValuesProvider

public class InjectableValuesProvider
extends java.lang.Object

A hold of a list of injectable that obtains the injectable values from that list.

Author:
[email protected]

Constructor Summary
InjectableValuesProvider(java.util.List<Injectable> is)
          Create a new instance given a list of injectable.
 
Method Summary
 java.util.List<AbstractHttpContextInjectable> getInjectables()
           
 java.lang.Object[] getInjectableValues(HttpContext context)
          Get the injectable values.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InjectableValuesProvider

public InjectableValuesProvider(java.util.List<Injectable> is)
Create a new instance given a list of injectable.

Parameters:
is - the list of injectable.
Method Detail

getInjectables

public java.util.List<AbstractHttpContextInjectable> getInjectables()

getInjectableValues

public java.lang.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.