|
61 | 61 | * @author Dave Syer |
62 | 62 | * @author Mahmoud Ben Hassine |
63 | 63 | * @since 2.0 |
| 64 | + * @deprecated Since 6.0 and scheduled for removal in 6.2 in favor of using |
| 65 | + * {@link JdbcJobExplorerFactoryBean}. |
64 | 66 | */ |
| 67 | +@Deprecated(since = "6.0", forRemoval = true) |
65 | 68 | public class JobExplorerFactoryBean extends AbstractJobExplorerFactoryBean implements InitializingBean { |
66 | 69 |
|
67 | | - private DataSource dataSource; |
| 70 | + protected DataSource dataSource; |
68 | 71 |
|
69 | | - private JdbcOperations jdbcOperations; |
| 72 | + protected JdbcOperations jdbcOperations; |
70 | 73 |
|
71 | | - private String tablePrefix = AbstractJdbcBatchMetadataDao.DEFAULT_TABLE_PREFIX; |
| 74 | + protected String tablePrefix = AbstractJdbcBatchMetadataDao.DEFAULT_TABLE_PREFIX; |
72 | 75 |
|
73 | | - private final DataFieldMaxValueIncrementer incrementer = new AbstractDataFieldMaxValueIncrementer() { |
| 76 | + protected final DataFieldMaxValueIncrementer incrementer = new AbstractDataFieldMaxValueIncrementer() { |
74 | 77 | @Override |
75 | 78 | protected long getNextKey() { |
76 | 79 | throw new IllegalStateException("JobExplorer is read only."); |
77 | 80 | } |
78 | 81 | }; |
79 | 82 |
|
80 | | - private JobKeyGenerator jobKeyGenerator; |
| 83 | + protected JobKeyGenerator jobKeyGenerator; |
81 | 84 |
|
82 | | - private ExecutionContextSerializer serializer; |
| 85 | + protected ExecutionContextSerializer serializer; |
83 | 86 |
|
84 | | - private Charset charset = StandardCharsets.UTF_8; |
| 87 | + protected Charset charset = StandardCharsets.UTF_8; |
85 | 88 |
|
86 | | - private ConfigurableConversionService conversionService; |
| 89 | + protected ConfigurableConversionService conversionService; |
87 | 90 |
|
88 | 91 | /** |
89 | 92 | * A custom implementation of {@link ExecutionContextSerializer}. The default, if not |
|
0 commit comments