|
|
|
@ -133,7 +133,7 @@ public class XxlJobExecutor implements ApplicationContextAware { |
|
|
|
|
// ---------------------- job handler repository ----------------------
|
|
|
|
|
private static ConcurrentHashMap<String, IJobHandler> jobHandlerRepository = new ConcurrentHashMap<String, IJobHandler>(); |
|
|
|
|
public static IJobHandler registJobHandler(String name, IJobHandler jobHandler){ |
|
|
|
|
logger.info("xxl-job register jobhandler success, name:{}, jobHandler:{}", name, jobHandler); |
|
|
|
|
logger.info(">>>>>>>>>>> xxl-job register jobhandler success, name:{}, jobHandler:{}", name, jobHandler); |
|
|
|
|
return jobHandlerRepository.put(name, jobHandler); |
|
|
|
|
} |
|
|
|
|
public static IJobHandler loadJobHandler(String name){ |
|
|
|
|