public class ContextProvider extends java.lang.Object implements RESTResourceFinder
Constructor and Description |
---|
ContextProvider() |
ContextProvider(RESTResourceFinder fallback) |
Modifier and Type | Method and Description |
---|---|
ContextProvider |
deregister(java.lang.Class<?> contextType) |
<T> T |
find(java.lang.Class<T> clazz) |
<T> ContextProvider |
register(java.lang.Class<T> contextType,
T instance) |
public ContextProvider()
public ContextProvider(RESTResourceFinder fallback)
public <T> T find(java.lang.Class<T> clazz)
find
in interface RESTResourceFinder
public ContextProvider deregister(java.lang.Class<?> contextType)
public <T> ContextProvider register(java.lang.Class<T> contextType, T instance)