|
72 | 72 | * @author Dave Syer
|
73 | 73 | * @author Michael Minella
|
74 | 74 | * @author Mahmoud Ben Hassine
|
| 75 | + * @deprecated since 6.0 in favor of {@link JdbcJobRepositoryFactoryBean}. Scheduled for |
| 76 | + * removal in 6.2 or later. |
75 | 77 | */
|
| 78 | +@Deprecated(since = "6.0", forRemoval = true) |
76 | 79 | public class JobRepositoryFactoryBean extends AbstractJobRepositoryFactoryBean implements InitializingBean {
|
77 | 80 |
|
78 | 81 | protected static final Log logger = LogFactory.getLog(JobRepositoryFactoryBean.class);
|
79 | 82 |
|
80 |
| - private DataSource dataSource; |
| 83 | + protected DataSource dataSource; |
81 | 84 |
|
82 |
| - private JdbcOperations jdbcOperations; |
| 85 | + protected JdbcOperations jdbcOperations; |
83 | 86 |
|
84 |
| - private String databaseType; |
| 87 | + protected String databaseType; |
85 | 88 |
|
86 |
| - private String tablePrefix = AbstractJdbcBatchMetadataDao.DEFAULT_TABLE_PREFIX; |
| 89 | + protected String tablePrefix = AbstractJdbcBatchMetadataDao.DEFAULT_TABLE_PREFIX; |
87 | 90 |
|
88 |
| - private DataFieldMaxValueIncrementerFactory incrementerFactory; |
| 91 | + protected DataFieldMaxValueIncrementerFactory incrementerFactory; |
89 | 92 |
|
90 |
| - private JobKeyGenerator jobKeyGenerator; |
| 93 | + protected JobKeyGenerator jobKeyGenerator; |
91 | 94 |
|
92 |
| - private int maxVarCharLengthForExitMessage = AbstractJdbcBatchMetadataDao.DEFAULT_EXIT_MESSAGE_LENGTH; |
| 95 | + protected int maxVarCharLengthForExitMessage = AbstractJdbcBatchMetadataDao.DEFAULT_EXIT_MESSAGE_LENGTH; |
93 | 96 |
|
94 |
| - private int maxVarCharLengthForShortContext = AbstractJdbcBatchMetadataDao.DEFAULT_SHORT_CONTEXT_LENGTH; |
| 97 | + protected int maxVarCharLengthForShortContext = AbstractJdbcBatchMetadataDao.DEFAULT_SHORT_CONTEXT_LENGTH; |
95 | 98 |
|
96 |
| - private ExecutionContextSerializer serializer; |
| 99 | + protected ExecutionContextSerializer serializer; |
97 | 100 |
|
98 |
| - private Integer clobType; |
| 101 | + protected Integer clobType; |
99 | 102 |
|
100 |
| - private Charset charset = StandardCharsets.UTF_8; |
| 103 | + protected Charset charset = StandardCharsets.UTF_8; |
101 | 104 |
|
102 |
| - private ConfigurableConversionService conversionService; |
| 105 | + protected ConfigurableConversionService conversionService; |
103 | 106 |
|
104 | 107 | /**
|
105 | 108 | * @param type a value from the {@link java.sql.Types} class to indicate the type to
|
|
0 commit comments