public class ConfigurationChecker
extends org.springframework.extensions.surf.util.AbstractLifecycleBean
The algorithm is:
Constructor and Description |
---|
ConfigurationChecker() |
Modifier and Type | Method and Description |
---|---|
org.alfresco.service.cmr.repository.NodeRef |
getSystemDescriptor() |
protected void |
onBootstrap(org.springframework.context.ApplicationEvent event) |
protected void |
onShutdown(org.springframework.context.ApplicationEvent event) |
void |
setContentService(ContentService contentService) |
void |
setDirRoot(String dirRoot) |
void |
setIndexConfigurationChecker(IndexConfigurationChecker indexConfigurationChecker) |
void |
setIndexRecoveryMode(String indexRecoveryMode)
Set the index recovery mode.
|
void |
setNamespaceService(org.alfresco.service.namespace.NamespaceService namespaceService) |
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService) |
void |
setSearchService(org.alfresco.service.cmr.search.SearchService searchService) |
void |
setStrict(boolean strict)
This flag controls the behaviour of the component in the event of problems being found.
|
void |
setSystemBootstrap(ImporterBootstrap systemBootstrap) |
void |
setTransactionService(TransactionService transactionService) |
String |
toString() |
public void setStrict(boolean strict)
strict
- true
to prevent system startup if problems are found, otherwise
false
to allow the system to startup regardless.public void setIndexRecoveryMode(String indexRecoveryMode)
FULL
then the index checks are ignored as the indexes will be scheduled for a rebuild
anyway.FullIndexRecoveryComponent.RecoveryMode
public void setDirRoot(String dirRoot)
public void setSystemBootstrap(ImporterBootstrap systemBootstrap)
public void setTransactionService(TransactionService transactionService)
public void setNamespaceService(org.alfresco.service.namespace.NamespaceService namespaceService)
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
public void setSearchService(org.alfresco.service.cmr.search.SearchService searchService)
public void setContentService(ContentService contentService)
public void setIndexConfigurationChecker(IndexConfigurationChecker indexConfigurationChecker)
protected void onBootstrap(org.springframework.context.ApplicationEvent event)
onBootstrap
in class org.springframework.extensions.surf.util.AbstractLifecycleBean
public org.alfresco.service.cmr.repository.NodeRef getSystemDescriptor()
protected void onShutdown(org.springframework.context.ApplicationEvent event)
onShutdown
in class org.springframework.extensions.surf.util.AbstractLifecycleBean
Copyright © 2005–2017 Alfresco Software. All rights reserved.