org.alfresco.repo.site
Class SiteAVMBootstrap

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

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

This component is responsible for bootstraping the special Site AVM store.


Field Summary
 
Fields inherited from class org.springframework.extensions.surf.util.AbstractLifecycleBean
log
 
Constructor Summary
SiteAVMBootstrap()
           
 
Method Summary
 void bootstrap()
          Bootstrap the AVM store
protected  void onBootstrap(org.springframework.context.ApplicationEvent event)
           
protected  void onShutdown(org.springframework.context.ApplicationEvent event)
           
 void setAvmService(AVMService avmService)
           
 void setPermissionService(org.alfresco.service.cmr.security.PermissionService permissionService)
           
 void setRootdir(java.lang.String rootdir)
           
 void setStorename(java.lang.String storename)
           
 void setTransactionService(TransactionService transactionService)
           
 
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

SiteAVMBootstrap

public SiteAVMBootstrap()
Method Detail

setRootdir

public void setRootdir(java.lang.String rootdir)
Parameters:
rootDir - the rootDir to set

setStorename

public void setStorename(java.lang.String storename)
Parameters:
storeName - the storeName to set

setAvmService

public void setAvmService(AVMService avmService)
Parameters:
avmService - the AVMService avmService to set

setPermissionService

public void setPermissionService(org.alfresco.service.cmr.security.PermissionService permissionService)
Parameters:
permissionService - the PermissionService to set

setTransactionService

public void setTransactionService(TransactionService transactionService)

onBootstrap

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

bootstrap

public void bootstrap()
Bootstrap the AVM store


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.