File tree Expand file tree Collapse file tree 1 file changed +34
-1
lines changed
spring-batch-core/src/main/java/org/springframework/batch/core/explore/support Expand file tree Collapse file tree 1 file changed +34
-1
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2006-2022 the original author or authors.
2
+ * Copyright 2006-2023 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
40
40
* @author Will Schipp
41
41
* @author Mahmoud Ben Hassine
42
42
* @author Parikshit Dutta
43
+ * @author Glenn Renfro
43
44
* @see JobExplorer
44
45
* @see JobInstanceDao
45
46
* @see JobExecutionDao
@@ -244,6 +245,38 @@ public long getJobInstanceCount(@Nullable String jobName) throws NoSuchJobExcept
244
245
return jobInstanceDao .getJobInstanceCount (jobName );
245
246
}
246
247
248
+ /**
249
+ * @return instance of {@link JobInstanceDao}.
250
+ * @since 5.1
251
+ */
252
+ protected JobInstanceDao getJobInstanceDao () {
253
+ return jobInstanceDao ;
254
+ }
255
+
256
+ /**
257
+ * @return instance of {@link JobExecutionDao}.
258
+ * @since 5.1
259
+ */
260
+ protected JobExecutionDao getJobExecutionDao () {
261
+ return jobExecutionDao ;
262
+ }
263
+
264
+ /**
265
+ * @return instance of {@link StepExecutionDao}.
266
+ * @since 5.1
267
+ */
268
+ protected StepExecutionDao getStepExecutionDao () {
269
+ return stepExecutionDao ;
270
+ }
271
+
272
+ /**
273
+ * @return instance of {@link ExecutionContextDao}.
274
+ * @since 5.1
275
+ */
276
+ protected ExecutionContextDao getEcDao () {
277
+ return ecDao ;
278
+ }
279
+
247
280
/*
248
281
* Find all dependencies for a JobExecution, including JobInstance (which requires
249
282
* JobParameters) plus StepExecutions
You can’t perform that action at this time.
0 commit comments