org.alfresco.repo.site
Class SiteAVMBootstrap
java.lang.Object
org.springframework.extensions.surf.util.AbstractLifecycleBean
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.
Fields inherited from class org.springframework.extensions.surf.util.AbstractLifecycleBean |
log |
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 |
SiteAVMBootstrap
public SiteAVMBootstrap()
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.