Class 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
    • 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​(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​(List<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​(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