Class SystemInfoBootstrap
- java.lang.Object
-
- org.springframework.extensions.surf.util.AbstractLifecycleBean
-
- org.alfresco.repo.importer.system.SystemInfoBootstrap
-
- All Implemented Interfaces:
java.util.EventListener,org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware,org.springframework.context.ApplicationListener
public class SystemInfoBootstrap extends org.springframework.extensions.surf.util.AbstractLifecycleBeanRepository System Information bootstrap- Author:
- davidc
-
-
Constructor Summary
Constructors Constructor Description SystemInfoBootstrap()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbootstrap()Bootstrapprotected voidonBootstrap(org.springframework.context.ApplicationEvent event)protected voidonShutdown(org.springframework.context.ApplicationEvent event)voidsetAuthenticationContext(AuthenticationContext authenticationContext)Set the authentication componentvoidsetBootstrapView(java.lang.String bootstrapView)Set the bootstrap view containing the system informationvoidsetMustNotExistStoreUrls(java.util.List<java.lang.String> storeUrls)If any of the store urls exist, the bootstrap does not take placevoidsetNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)Sets the node servicevoidsetSystemImporter(SystemExporterImporter systemImporter)Set the System ImportervoidsetTransactionService(TransactionService transactionService)Sets the Transaction Service
-
-
-
Method Detail
-
setTransactionService
public void setTransactionService(TransactionService transactionService)
Sets the Transaction Service- Parameters:
transactionService- the transaction service
-
setNodeService
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
Sets the node service- Parameters:
nodeService- the node service
-
setAuthenticationContext
public void setAuthenticationContext(AuthenticationContext authenticationContext)
Set the authentication component- Parameters:
authenticationContext- AuthenticationContext
-
setSystemImporter
public void setSystemImporter(SystemExporterImporter systemImporter)
Set the System Importer- Parameters:
systemImporter- SystemExporterImporter
-
setMustNotExistStoreUrls
public void setMustNotExistStoreUrls(java.util.List<java.lang.String> storeUrls)
If any of the store urls exist, the bootstrap does not take place- Parameters:
storeUrls- the list of store urls to check
-
setBootstrapView
public void setBootstrapView(java.lang.String bootstrapView)
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
-
-