本文整理汇总了Java中org.springframework.batch.core.configuration.JobLocator类的典型用法代码示例。如果您正苦于以下问题:Java JobLocator类的具体用法?Java JobLocator怎么用?Java JobLocator使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
JobLocator类属于org.springframework.batch.core.configuration包,在下文中一共展示了JobLocator类的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: jobLocator
import org.springframework.batch.core.configuration.JobLocator; //导入依赖的package包/类
@Bean
public JobLocator jobLocator() {
return new MapJobRegistry();
}
示例2: setJobLocator
import org.springframework.batch.core.configuration.JobLocator; //导入依赖的package包/类
/**
*
* @param newJobLocator Set the job locator
*/
@Autowired
public void setJobLocator(JobLocator newJobLocator) {
this.jobLocator = newJobLocator;
}
示例3: setJobLocator
import org.springframework.batch.core.configuration.JobLocator; //导入依赖的package包/类
@Autowired
public void setJobLocator(JobLocator newJobLocator) {
this.jobLocator = newJobLocator;
}
示例4: JobForcingExecutor
import org.springframework.batch.core.configuration.JobLocator; //导入依赖的package包/类
@Autowired
public JobForcingExecutor(JobLauncher jobLauncher, JobLocator jobLocator) {
this.jobLauncher = jobLauncher;
this.jobLocator = jobLocator;
}
示例5: setJobLocator
import org.springframework.batch.core.configuration.JobLocator; //导入依赖的package包/类
/**
* {@link JobLocator} to find a job to run.
*
* @param jobLocator
* a {@link JobLocator}
*/
public void setJobLocator(JobLocator jobLocator) {
this.jobLocator = jobLocator;
}
示例6: setJobLocator
import org.springframework.batch.core.configuration.JobLocator; //导入依赖的package包/类
/**
* {@link JobLocator} to find a job to run.
*
* @param jobLocator a {@link JobLocator}
*/
public void setJobLocator(JobLocator jobLocator) {
this.jobLocator = jobLocator;
}
示例7: setJobLocator
import org.springframework.batch.core.configuration.JobLocator; //导入依赖的package包/类
/**
* Public setter for the
* {@link org.springframework.batch.core.configuration.JobLocator
* JobLocator}.
*
* @param jobLocator
* the JobLocator to set
*/
public void setJobLocator(JobLocator jobLocator) {
this.jobLocator = jobLocator;
}
示例8: setJobLocator
import org.springframework.batch.core.configuration.JobLocator; //导入依赖的package包/类
/**
* JobLocator를 등록한다.
*
* @param jobLocator
*/
public void setJobLocator(JobLocator jobLocator) {
this.jobLocator = jobLocator;
}