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:
Mark Paluch
2019-08-06 15:57:08 +02:00
parent 95ccdf4c20
commit 564acd75d5
2 changed files with 2 additions and 2 deletions

View File

@@ -84,7 +84,7 @@ public class MongoRepositoryFactoryBean<T extends Repository<S, ID>, S, ID exten
* #createRepositoryFactory()
*/
@Override
protected final RepositoryFactorySupport createRepositoryFactory() {
protected RepositoryFactorySupport createRepositoryFactory() {
RepositoryFactorySupport factory = getFactoryInstance(operations);

View File

@@ -89,7 +89,7 @@ public class ReactiveMongoRepositoryFactoryBean<T extends Repository<S, ID>, S,
* #createRepositoryFactory()
*/
@Override
protected final RepositoryFactorySupport createRepositoryFactory() {
protected RepositoryFactorySupport createRepositoryFactory() {
RepositoryFactorySupport factory = getFactoryInstance(operations);