com.sun.jersey.spi.inject
Interface Injectable<T>

Type Parameters:
T - the type of the value to be injected
All Known Implementing Classes:
PerRequestTypeInjectableProvider, SingletonTypeInjectableProvider

public interface Injectable<T>

The type of something that is injectable.

Author:
Paul.Sandoz@Sun.Com

Method Summary
 T getValue(HttpContext context)
          Get the injectable value.
 

Method Detail

getValue

T getValue(HttpContext context)
Get the injectable value.

Parameters:
context - the HTTP context, may be null if no context is available for the scope of injection.
Returns:
the injectable value


Copyright © 2008 Sun Microsystems, Inc. All Rights Reserved.