Here you can find the source of invokeTargetCheckPoint(String resuming_checkpoint_path, Object jobObject, final java.util.Map
@Deprecated public static void invokeTargetCheckPoint(String resuming_checkpoint_path, Object jobObject, final java.util.Map<String, Object> globalMap) throws Exception
//package com.java2s; // %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt public class Main { @Deprecated public static void invokeTargetCheckPoint(String resuming_checkpoint_path, Object jobObject, final java.util.Map<String, Object> globalMap) throws Exception { /*//from w w w . j a v a2 s . com * String resuming_checkpoint_path = * "/JOB:parentJob/SUBJOB:tRunJob_1/NODE:tRunJob_1/JOB:ChildJob/SUBJOB:tSystem_2" ; */ String currentJob_checkpoint_path = null; // 1. get currentJob_checkpoint_path if (resuming_checkpoint_path != null) { int indexOf = resuming_checkpoint_path.indexOf("/NODE:"); if (indexOf != -1) { // currentJob_checkpoint_path: /JOB:parentJob/SUBJOB:tRunJob_1 currentJob_checkpoint_path = resuming_checkpoint_path.substring(0, indexOf); } else { // currentJob_checkpoint_path: /JOB:ChildJob/SUBJOB:tSystem_2 currentJob_checkpoint_path = resuming_checkpoint_path; } } String currentJob_subJob_resuming = null; // 2. get the target SUBJOB if (currentJob_checkpoint_path != null) { int indexOf = currentJob_checkpoint_path.indexOf("/SUBJOB:"); if (indexOf != -1) { currentJob_subJob_resuming = currentJob_checkpoint_path.substring(indexOf + 8); } } String subjobMethodName = currentJob_subJob_resuming + "Process"; // System.out.println(subjobMethodName); // 3. invoke the target method if (currentJob_subJob_resuming != null) { for (java.lang.reflect.Method m : jobObject.getClass().getMethods()) { if (m.getName().compareTo(subjobMethodName) == 0) { m.invoke(jobObject, new Object[] { globalMap }); break; } } } } }