Class SystemInfoBootstrap
java.lang.Object
org.springframework.extensions.surf.util.AbstractLifecycleBean
org.alfresco.repo.importer.system.SystemInfoBootstrap
- All Implemented Interfaces:
EventListener,org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware,org.springframework.context.ApplicationListener
public class SystemInfoBootstrap
extends org.springframework.extensions.surf.util.AbstractLifecycleBean
Repository System Information bootstrap
- Author:
- davidc
-
Field Summary
Fields inherited from class org.springframework.extensions.surf.util.AbstractLifecycleBean
log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidBootstrapprotected voidonBootstrap(org.springframework.context.ApplicationEvent event) protected voidonShutdown(org.springframework.context.ApplicationEvent event) voidsetAuthenticationContext(AuthenticationContext authenticationContext) Set the authentication componentvoidsetBootstrapView(String bootstrapView) Set the bootstrap view containing the system informationvoidsetMustNotExistStoreUrls(List<String> storeUrls) If any of the store urls exist, the bootstrap does not take placevoidsetNodeService(NodeService nodeService) Sets the node servicevoidsetSystemImporter(SystemExporterImporter systemImporter) Set the System ImportervoidsetTransactionService(TransactionService transactionService) Sets the Transaction ServiceMethods inherited from class org.springframework.extensions.surf.util.AbstractLifecycleBean
getApplicationContext, onApplicationEvent, setApplicationContextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.context.ApplicationListener
supportsAsyncExecution
-
Constructor Details
-
SystemInfoBootstrap
public SystemInfoBootstrap()
-
-
Method Details
-
setTransactionService
Sets the Transaction Service- Parameters:
transactionService- the transaction service
-
setNodeService
Sets the node service- Parameters:
nodeService- the node service
-
setAuthenticationContext
Set the authentication component- Parameters:
authenticationContext- AuthenticationContext
-
setSystemImporter
Set the System Importer- Parameters:
systemImporter- SystemExporterImporter
-
setMustNotExistStoreUrls
If any of the store urls exist, the bootstrap does not take place- Parameters:
storeUrls- the list of store urls to check
-
setBootstrapView
Set the bootstrap view containing the system information- Parameters:
bootstrapView- String
-
bootstrap
public void bootstrap()Bootstrap -
onBootstrap
protected void onBootstrap(org.springframework.context.ApplicationEvent event) - Specified by:
onBootstrapin classorg.springframework.extensions.surf.util.AbstractLifecycleBean
-
onShutdown
protected void onShutdown(org.springframework.context.ApplicationEvent event) - Specified by:
onShutdownin classorg.springframework.extensions.surf.util.AbstractLifecycleBean
-