DATAMONGO-2338 - Open RepositoryFactoryBeans for extension.
createRepositoryFactory() is now no longer final allowing for overriding the method. This change aligns with the remanining store modules.
This commit is contained in:
@@ -84,7 +84,7 @@ public class MongoRepositoryFactoryBean<T extends Repository<S, ID>, S, ID exten
|
|||||||
* #createRepositoryFactory()
|
* #createRepositoryFactory()
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
protected final RepositoryFactorySupport createRepositoryFactory() {
|
protected RepositoryFactorySupport createRepositoryFactory() {
|
||||||
|
|
||||||
RepositoryFactorySupport factory = getFactoryInstance(operations);
|
RepositoryFactorySupport factory = getFactoryInstance(operations);
|
||||||
|
|
||||||
|
|||||||
@@ -89,7 +89,7 @@ public class ReactiveMongoRepositoryFactoryBean<T extends Repository<S, ID>, S,
|
|||||||
* #createRepositoryFactory()
|
* #createRepositoryFactory()
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
protected final RepositoryFactorySupport createRepositoryFactory() {
|
protected RepositoryFactorySupport createRepositoryFactory() {
|
||||||
|
|
||||||
RepositoryFactorySupport factory = getFactoryInstance(operations);
|
RepositoryFactorySupport factory = getFactoryInstance(operations);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user