use of com.alibaba.datax.core.container.util.HookInvoker in project DataX by alibaba.
the class JobContainer method invokeHooks.
/**
* 调用外部hook
*/
private void invokeHooks() {
Communication comm = super.getContainerCommunicator().collect();
HookInvoker invoker = new HookInvoker(CoreConstant.DATAX_HOME + "/hook", configuration, comm.getCounter());
invoker.invokeAll();
}
Aggregations