类 ConcreteContext
java.lang.Object
org.coodex.concrete.common.ConcreteContext
Created by davidoff shen on 2017-04-20.
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static ServiceContextstatic ObjectrunServiceWithContext(ServiceContext context, Supplier<?> supplier, Class<?> interfaceClass, Method method, Object[] params) 服务端运行static voidrunWithContext(ServiceContext context, Runnable runnable) static ObjectrunWithContext(ServiceContext context, Supplier<?> supplier)
-
字段详细资料
-
构造器详细资料
-
ConcreteContext
public ConcreteContext()
-
-
方法详细资料
-
getServiceContext
-
runWithContext
-
runWithContext
-
runServiceWithContext
public static Object runServiceWithContext(ServiceContext context, Supplier<?> supplier, Class<?> interfaceClass, Method method, Object[] params) 服务端运行- 参数:
context- contextsupplier- supplierinterfaceClass- interfaceClassmethod- methodparams- params- 返回:
- 运行结果
-