|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.jersey.internal.ContextResolverFactory
public class ContextResolverFactory
A factory implementation for managing ContextResolver instances.
| Nested Class Summary | |
|---|---|
static class |
ContextResolverFactory.Binder
Injection binder defining ContextResolverFactory and
ContextResolvers bindings. |
| Constructor Summary | |
|---|---|
ContextResolverFactory(org.glassfish.hk2.api.ServiceLocator locator)
Create new context resolver factory backed by the supplied HK2 service locator. |
|
| Method Summary | ||
|---|---|---|
|
resolve(java.lang.reflect.Type t,
javax.ws.rs.core.MediaType m)
Get ContextResolver<T> instance for a given type
and media type. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
@Inject public ContextResolverFactory(org.glassfish.hk2.api.ServiceLocator locator)
HK2 service locator.
locator - HK2 service locator.| Method Detail |
|---|
public <T> javax.ws.rs.ext.ContextResolver<T> resolve(java.lang.reflect.Type t,
javax.ws.rs.core.MediaType m)
ContextResolversContextResolver<T> instance for a given type
and media type.
resolve in interface ContextResolversT - Java type produced by the context resolver.t - type supported by the context resolver.m - media type supported by the context resolver.
null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||