public final class ConcreteContext extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
KEY_LOCALE |
static String |
KEY_TOKEN |
| 构造器和说明 |
|---|
ConcreteContext() |
| 限定符和类型 | 方法和说明 |
|---|---|
static ServiceContext |
getServiceContext() |
static Object |
runServiceWithContext(ServiceContext context,
Supplier<?> supplier,
Class<?> interfaceClass,
Method method,
Object[] params)
服务端运行
|
static void |
runWithContext(ServiceContext context,
Runnable runnable) |
static Object |
runWithContext(ServiceContext context,
Supplier<?> supplier) |
public static ServiceContext getServiceContext()
public static Object runWithContext(ServiceContext context, Supplier<?> supplier)
public static void runWithContext(ServiceContext context, Runnable runnable)
Copyright © 2022. All rights reserved.