com.atlassian.mywork.host.batch
Class TaskCleanerScheduler
java.lang.Object
com.atlassian.mywork.host.batch.TaskCleanerScheduler
- All Implemented Interfaces:
- com.atlassian.sal.api.lifecycle.LifecycleAware, org.springframework.beans.factory.DisposableBean
public class TaskCleanerScheduler
- extends java.lang.Object
- implements com.atlassian.sal.api.lifecycle.LifecycleAware, org.springframework.beans.factory.DisposableBean
|
Constructor Summary |
TaskCleanerScheduler(com.atlassian.sal.api.scheduling.PluginScheduler pluginScheduler,
TaskDao taskDao,
NotificationDao notificationDao,
com.atlassian.sal.api.transaction.TransactionTemplate transactionTemplate,
com.atlassian.event.api.EventPublisher eventPublisher)
|
|
Method Summary |
void |
destroy()
|
void |
onEvent(com.atlassian.config.lifecycle.events.ApplicationStoppingEvent stoppingEvent)
|
void |
onStart()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TaskCleanerScheduler
public TaskCleanerScheduler(com.atlassian.sal.api.scheduling.PluginScheduler pluginScheduler,
TaskDao taskDao,
NotificationDao notificationDao,
com.atlassian.sal.api.transaction.TransactionTemplate transactionTemplate,
com.atlassian.event.api.EventPublisher eventPublisher)
onStart
public void onStart()
- Specified by:
onStart in interface com.atlassian.sal.api.lifecycle.LifecycleAware
onEvent
@EventListener
public void onEvent(com.atlassian.config.lifecycle.events.ApplicationStoppingEvent stoppingEvent)
throws java.lang.Exception
- Throws:
java.lang.Exception
destroy
public void destroy()
throws java.lang.Exception
- Specified by:
destroy in interface org.springframework.beans.factory.DisposableBean
- Throws:
java.lang.Exception
Copyright © 2012 Atlassian. All Rights Reserved.