public class InvokeTask extends Object implements Task
InvokeTask(String classNameWithMethodName)
void
execute()
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public InvokeTask(String classNameWithMethodName)
classNameWithMethodName
public void execute()
Task
作业的具体实现需考虑异常情况,默认情况下任务异常在监听中统一监听处理,如果不加入监听,异常会被忽略 因此最好自行捕获异常后处理
execute
Copyright © 2021. All rights reserved.