public class ContextRegistry<SENDER> extends java.lang.Object implements ContextChainAccessor<SENDER>
| Constructor and Description |
|---|
ContextRegistry() |
| Modifier and Type | Method and Description |
|---|---|
<T> ContextResult<T> |
provideContext(java.lang.Class<T> clazz,
Invocation<SENDER> invocation) |
<T> void |
registerProvider(java.lang.Class<T> clazz,
ContextChainedProvider<SENDER,T> supplier) |
public <T> void registerProvider(java.lang.Class<T> clazz,
ContextChainedProvider<SENDER,T> supplier)
public <T> ContextResult<T> provideContext(java.lang.Class<T> clazz, Invocation<SENDER> invocation)
provideContext in interface ContextChainAccessor<SENDER>