org.alfresco.repo.usage
Class UserUsageTrackingComponent
java.lang.Object
org.springframework.extensions.surf.util.AbstractLifecycleBean
org.alfresco.repo.usage.UserUsageTrackingComponent
- All Implemented Interfaces:
- java.util.EventListener, org.springframework.context.ApplicationContextAware, org.springframework.context.ApplicationListener
public class UserUsageTrackingComponent
- extends org.springframework.extensions.surf.util.AbstractLifecycleBean
User Usage Tracking Component - to allow user usages to be collapsed or re-calculated
- used by UserUsageCollapseJob to collapse usage deltas.
- used on bootstrap to either clear all usages or (re-)calculate all missing usages.
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 |
UserUsageTrackingComponent
public UserUsageTrackingComponent()
setTransactionService
public void setTransactionService(TransactionServiceImpl transactionService)
setContentUsageImpl
public void setContentUsageImpl(ContentUsageImpl contentUsageImpl)
setPersonStoreUrl
public void setPersonStoreUrl(java.lang.String storeUrl)
setNodeService
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
setUsageDAO
public void setUsageDAO(UsageDAO usageDAO)
setUsageService
public void setUsageService(UsageService usageService)
setTenantAdminService
public void setTenantAdminService(TenantAdminService tenantAdminService)
setTenantService
public void setTenantService(org.alfresco.repo.tenant.TenantService tenantService)
setClearBatchSize
public void setClearBatchSize(int clearBatchSize)
setUpdateBatchSize
public void setUpdateBatchSize(int updateBatchSize)
setEnabled
public void setEnabled(boolean enabled)
execute
public void execute()
onBootstrap
protected void onBootstrap(org.springframework.context.ApplicationEvent event)
- Specified by:
onBootstrap
in class org.springframework.extensions.surf.util.AbstractLifecycleBean
bootstrapInternal
public void bootstrapInternal()
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.