Class 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.AbstractLifecycleBean
    Repository System Information bootstrap
    Author:
    davidc
    • Field Summary

      • Fields inherited from class org.springframework.extensions.surf.util.AbstractLifecycleBean

        log
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void bootstrap()
      Bootstrap
      protected void onBootstrap​(org.springframework.context.ApplicationEvent event)  
      protected void onShutdown​(org.springframework.context.ApplicationEvent event)  
      void setAuthenticationContext​(AuthenticationContext authenticationContext)
      Set the authentication component
      void setBootstrapView​(java.lang.String bootstrapView)
      Set the bootstrap view containing the system information
      void setMustNotExistStoreUrls​(java.util.List<java.lang.String> storeUrls)
      If any of the store urls exist, the bootstrap does not take place
      void setNodeService​(org.alfresco.service.cmr.repository.NodeService nodeService)
      Sets the node service
      void setSystemImporter​(SystemExporterImporter systemImporter)
      Set the System Importer
      void setTransactionService​(TransactionService transactionService)
      Sets the Transaction Service
      • Methods inherited from class org.springframework.extensions.surf.util.AbstractLifecycleBean

        getApplicationContext, onApplicationEvent, setApplicationContext
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SystemInfoBootstrap

        public SystemInfoBootstrap()
    • 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:
        onBootstrap in class org.springframework.extensions.surf.util.AbstractLifecycleBean
      • onShutdown

        protected void onShutdown​(org.springframework.context.ApplicationEvent event)
        Specified by:
        onShutdown in class org.springframework.extensions.surf.util.AbstractLifecycleBean