类 ConcreteContext

java.lang.Object
org.coodex.concrete.common.ConcreteContext

public final class ConcreteContext extends Object
Created by davidoff shen on 2017-04-20.
  • 字段详细资料

  • 构造器详细资料

    • ConcreteContext

      public ConcreteContext()
  • 方法详细资料

    • getServiceContext

      public static ServiceContext getServiceContext()
    • runWithContext

      public static Object runWithContext(ServiceContext context, Supplier<?> supplier)
    • runWithContext

      public static void runWithContext(ServiceContext context, Runnable runnable)
    • runServiceWithContext

      public static Object runServiceWithContext(ServiceContext context, Supplier<?> supplier, Class<?> interfaceClass, Method method, Object[] params)
      服务端运行
      参数:
      context - context
      supplier - supplier
      interfaceClass - interfaceClass
      method - method
      params - params
      返回:
      运行结果