类 DefaultJobLoader

  • 所有已实现的接口:
    JobLoader, org.springframework.beans.factory.InitializingBean

    public class DefaultJobLoader
    extends java.lang.Object
    implements JobLoader, org.springframework.beans.factory.InitializingBean
    Default implementation of JobLoader. Uses a JobRegistry to manage a population of loaded jobs and clears them up when asked. An optional StepRegistry might also be set to register the step(s) available for each registered job.
    作者:
    Dave Syer, Stephane Nicoll, Mahmoud Ben Hassine
    • 方法详细资料

      • reload

        public java.util.Collection<Jobreload​(ApplicationContextFactory factory)
        从接口复制的说明: JobLoader
        Load an application context and register all the jobs, having first unregistered them if already registered. Implementations should also take care to close and clean up the application context previously created if possible (either from this factory or from one with the same jobs).
        指定者:
        reload 在接口中 JobLoader
        参数:
        factory - a factory for an application context (containing jobs)
        返回:
        a collection of the jobs created
      • afterPropertiesSet

        public void afterPropertiesSet()
        指定者:
        afterPropertiesSet 在接口中 org.springframework.beans.factory.InitializingBean