public final class ConcreteContext extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
SIDE_CLIENT |
static int |
SIDE_LOCAL_INVOKE |
static int |
SIDE_SERVER |
static int |
SIDE_TEST |
| Constructor and Description |
|---|
ConcreteContext() |
| Modifier and Type | Method and Description |
|---|---|
static Map<String,Object> |
getLoggingData() |
static ServiceContext |
getServiceContext() |
static void |
putLoggingData(String key,
Object value)
放入记录日志所需的数据
|
static Object |
runWithContext(ServiceContext context,
org.coodex.closure.CallableClosure callable) |
static Object |
runWithContext(ServiceContext context,
ConcreteClosure runnable)
Deprecated.
|
public static final int SIDE_SERVER
public static final int SIDE_LOCAL_INVOKE
public static final int SIDE_TEST
public static final int SIDE_CLIENT
public static final ServiceContext getServiceContext()
public static final void putLoggingData(String key, Object value)
key - value - @Deprecated public static final Object runWithContext(ServiceContext context, ConcreteClosure runnable)
public static final Object runWithContext(ServiceContext context, org.coodex.closure.CallableClosure callable)
Copyright © 2018. All rights reserved.