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
This commit is contained in:
Derek Hulley
2009-08-26 12:33:10 +00:00
parent 59d791febc
commit de4467b12d

View File

@@ -1024,7 +1024,7 @@ public abstract class AbstractLuceneIndexerAndSearcherFactory implements LuceneI
* *
* @author Derek Hulley * @author Derek Hulley
*/ */
public static class LuceneIndexBackupComponent implements InitializingBean public static class LuceneIndexBackupComponent /*implements InitializingBean*/
{ {
ReentrantReadWriteLock rwLock = new ReentrantReadWriteLock(); 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<Object> backupWork = new RetryingTransactionCallback<Object>() RetryingTransactionCallback<Object> backupWork = new RetryingTransactionCallback<Object>()
{ {