Class ScheduledPersistedActionServiceImpl.ScheduledPersistedActionServiceBootstrap
java.lang.Object
org.springframework.extensions.surf.util.AbstractLifecycleBean
org.alfresco.repo.action.scheduled.ScheduledPersistedActionServiceImpl.ScheduledPersistedActionServiceBootstrap
- All Implemented Interfaces:
EventListener,org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware,org.springframework.context.ApplicationListener
- Enclosing class:
- ScheduledPersistedActionServiceImpl
public static class ScheduledPersistedActionServiceImpl.ScheduledPersistedActionServiceBootstrap
extends org.springframework.extensions.surf.util.AbstractLifecycleBean
This is used to trigger the loading of previously persisted schedules on
an application startup. It is an additional bean to make the context
files cleaner.
-
Field Summary
Fields inherited from class org.springframework.extensions.surf.util.AbstractLifecycleBean
log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonBootstrap(org.springframework.context.ApplicationEvent event) voidonShutdown(org.springframework.context.ApplicationEvent event) voidsetScheduledPersistedActionService(ScheduledPersistedActionServiceImpl scheduledPersistedActionService) voidsetTransactionHelper(RetryingTransactionHelper txnHelper) Methods inherited from class org.springframework.extensions.surf.util.AbstractLifecycleBean
getApplicationContext, onApplicationEvent, setApplicationContext
-
Constructor Details
-
ScheduledPersistedActionServiceBootstrap
public ScheduledPersistedActionServiceBootstrap()
-
-
Method Details
-
setScheduledPersistedActionService
public void setScheduledPersistedActionService(ScheduledPersistedActionServiceImpl scheduledPersistedActionService) -
setTransactionHelper
-
onBootstrap
public void onBootstrap(org.springframework.context.ApplicationEvent event) - Specified by:
onBootstrapin classorg.springframework.extensions.surf.util.AbstractLifecycleBean
-
onShutdown
public void onShutdown(org.springframework.context.ApplicationEvent event) - Specified by:
onShutdownin classorg.springframework.extensions.surf.util.AbstractLifecycleBean
-