org.alfresco.repo.importer.system
Class SystemInfoBootstrap

java.lang.Object
  extended by org.springframework.extensions.surf.util.AbstractLifecycleBean
      extended by org.alfresco.repo.importer.system.SystemInfoBootstrap
All Implemented Interfaces:
java.util.EventListener, org.springframework.context.ApplicationContextAware, org.springframework.context.ApplicationListener

public class SystemInfoBootstrap
extends org.springframework.extensions.surf.util.AbstractLifecycleBean

Repository System Information bootstrap


Field Summary
 
Fields inherited from class org.springframework.extensions.surf.util.AbstractLifecycleBean
log
 
Constructor Summary
SystemInfoBootstrap()
           
 
Method Summary
 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 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:
userTransaction - 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 -

setSystemImporter

public void setSystemImporter(SystemExporterImporter systemImporter)
Set the System Importer

Parameters:
systemImporter -

setMustNotExistStoreUrls

public void setMustNotExistStoreUrls(java.util.List 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 -

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


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.