public final class DirectoryMonitorRefresherStarter extends Object
DirectoryMonitorRefresherJob
when the application is first started, restored, or when the
directory configuration changesConstructor and Description |
---|
DirectoryMonitorRefresherStarter(com.atlassian.event.api.EventPublisher eventPublisher,
com.atlassian.scheduler.SchedulerService schedulerService,
long refresherJobIntervalMillis) |
Modifier and Type | Method and Description |
---|---|
void |
handleEvent(DirectoryCreatedEvent event) |
void |
handleEvent(DirectoryDeletedEvent event) |
void |
handleEvent(DirectoryUpdatedEvent event) |
void |
onApplicationReady(ApplicationReadyEvent event) |
void |
onXMLRestore(XMLRestoreFinishedEvent event) |
void |
registerListener() |
void |
unregisterListener() |
public DirectoryMonitorRefresherStarter(com.atlassian.event.api.EventPublisher eventPublisher, com.atlassian.scheduler.SchedulerService schedulerService, long refresherJobIntervalMillis)
@PostConstruct public void registerListener()
@PreDestroy public void unregisterListener()
@EventListener public void onApplicationReady(ApplicationReadyEvent event)
@EventListener public void onXMLRestore(XMLRestoreFinishedEvent event)
@EventListener public void handleEvent(DirectoryUpdatedEvent event)
@EventListener public void handleEvent(DirectoryDeletedEvent event)
@EventListener public void handleEvent(DirectoryCreatedEvent event)
Copyright © 2020 Atlassian. All rights reserved.