From de4467b12d70689740d38f2213a11d3a1a78ed63 Mon Sep 17 00:00:00 2001 From: Derek Hulley Date: Wed, 26 Aug 2009 12:33:10 +0000 Subject: [PATCH] Removed 'afterPropertiesSet' and 'InitializingBean' from LuceneIndexBackupComponent - It should use a bootstrap component as it accesses the NodeService - No bug raised; it just needs fixing git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@15926 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261 --- .../impl/lucene/AbstractLuceneIndexerAndSearcherFactory.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/java/org/alfresco/repo/search/impl/lucene/AbstractLuceneIndexerAndSearcherFactory.java b/source/java/org/alfresco/repo/search/impl/lucene/AbstractLuceneIndexerAndSearcherFactory.java index 2da803c2d6..b5b81e1e78 100644 --- a/source/java/org/alfresco/repo/search/impl/lucene/AbstractLuceneIndexerAndSearcherFactory.java +++ b/source/java/org/alfresco/repo/search/impl/lucene/AbstractLuceneIndexerAndSearcherFactory.java @@ -1024,7 +1024,7 @@ public abstract class AbstractLuceneIndexerAndSearcherFactory implements LuceneI * * @author Derek Hulley */ - public static class LuceneIndexBackupComponent implements InitializingBean + public static class LuceneIndexBackupComponent /*implements InitializingBean*/ { ReentrantReadWriteLock rwLock = new ReentrantReadWriteLock(); @@ -1443,7 +1443,7 @@ public abstract class AbstractLuceneIndexerAndSearcherFactory implements LuceneI } - public void afterPropertiesSet() throws Exception + public void afterPropertiesSetXXX() throws Exception { RetryingTransactionCallback backupWork = new RetryingTransactionCallback() {