Class OpTemplate<T>

java.lang.Object
com.power4j.fist.boot.common.op.OpTemplate<T>
All Implemented Interfaces:
OpInvoker<T>

public class OpTemplate<T> extends Object implements OpInvoker<T>
Since:
1.0
Author:
CJ (power4j@outlook.com)
  • Method Details

    • run

      public void run(T context, Consumer<T> operation)
      Description copied from interface: OpInvoker
      执行业务逻辑
      Specified by:
      run in interface OpInvoker<T>
      Parameters:
      context - 业务书上下文
      operation - 业务操作
    • getId

      public String getId()