Class XxlJobSpringExecutor

java.lang.Object
com.xxl.job.core.executor.XxlJobExecutor
com.xxl.job.core.executor.impl.XxlJobSpringExecutor
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.SmartInitializingSingleton, org.springframework.context.ApplicationContextAware

public class XxlJobSpringExecutor extends XxlJobExecutor implements org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.SmartInitializingSingleton, org.springframework.beans.factory.DisposableBean
xxl-job executor (for spring)
Author:
xuxueli 2018-11-01 09:24:52
  • Constructor Details

    • XxlJobSpringExecutor

      public XxlJobSpringExecutor()
  • Method Details

    • afterSingletonsInstantiated

      public void afterSingletonsInstantiated()
      Specified by:
      afterSingletonsInstantiated in interface org.springframework.beans.factory.SmartInitializingSingleton
    • destroy

      public void destroy()
      Specified by:
      destroy in interface org.springframework.beans.factory.DisposableBean
      Overrides:
      destroy in class XxlJobExecutor
    • setApplicationContext

      public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
      Specified by:
      setApplicationContext in interface org.springframework.context.ApplicationContextAware
      Throws:
      org.springframework.beans.BeansException
    • getApplicationContext

      public static org.springframework.context.ApplicationContext getApplicationContext()