Şöyle yaparız
@Bean public DefaultLockRepository DefaultLockRepository(DataSource dataSource){ return new DefaultLockRepository(dataSource); } @Bean public JdbcLockRegistry jdbcLockRegistry(LockRepository lockRepository){ return new JdbcLockRegistry(lockRepository); }
Hiç yorum yok:
Yorum Gönder