- Type Parameters:
T- type of the context
public interface ContextResolver<T>Contract for a provider that supplies context information to resource classes and other providers. A
ContextResolverimplementation may be annotated with
Producesto restrict the media types for which it will be considered suitable.
ContextResolvercontract must be either programmatically registered in an API runtime or must be annotated with
@Providerannotation to be automatically discovered by the runtime during a provider scanning phase.
- Paul Sandoz, Marc Hadley
- See Also: