public class ContextFactory extends Object
| Constructor and Description |
|---|
ContextFactory() |
| Modifier and Type | Method and Description |
|---|---|
static <C extends Context> |
clearContextTrace(Class<C> contextClass) |
static <C extends Context> |
exists(Class<C> contextClass) |
static <C extends Context> |
exportContextTrace(Class<C> contextClass) |
static Context[] |
filterContextsOn(Method method) |
static Context[] |
filterContextsOn(Method method,
Class<? extends Context>... filterClasses) |
static <C extends Context> |
getContext(Class<C> contextClass) |
static <C extends Context> |
importContextTrace(Class<C> contextClass,
C... contexts) |
static <C extends Context> |
popContext(Class<C> contextClass) |
static <C extends Context> |
pushContext(C context) |
static Context |
removeContext(Context context) |
static <C extends Context> |
sizeFor(Class<C> contextClass) |
public static <C extends Context> void importContextTrace(Class<C> contextClass, C... contexts)
public static <C extends Context> C getContext(Class<C> contextClass) throws ContextException
ContextExceptionpublic static Context[] filterContextsOn(Method method, Class<? extends Context>... filterClasses) throws ContextException
ContextExceptionpublic static <C extends Context> void pushContext(C context)
Copyright © 2020. All rights reserved.