Class ScheduledPersistedActionServiceImpl.ScheduledPersistedActionServiceBootstrap
- java.lang.Object
-
- org.springframework.extensions.surf.util.AbstractLifecycleBean
-
- org.alfresco.repo.action.scheduled.ScheduledPersistedActionServiceImpl.ScheduledPersistedActionServiceBootstrap
-
- All Implemented Interfaces:
java.util.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.AbstractLifecycleBeanThis 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.
-
-
Constructor Summary
Constructors Constructor Description ScheduledPersistedActionServiceBootstrap()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonBootstrap(org.springframework.context.ApplicationEvent event)voidonShutdown(org.springframework.context.ApplicationEvent event)voidsetScheduledPersistedActionService(ScheduledPersistedActionServiceImpl scheduledPersistedActionService)voidsetTransactionHelper(RetryingTransactionHelper txnHelper)
-
-
-
Method Detail
-
setScheduledPersistedActionService
public void setScheduledPersistedActionService(ScheduledPersistedActionServiceImpl scheduledPersistedActionService)
-
setTransactionHelper
public void setTransactionHelper(RetryingTransactionHelper txnHelper)
-
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
-
-