public final class BambooDirectoryMonitorRefresherStarter extends Object
DirectoryMonitorRefresherJob
when the application is first started, restored, or when the
directory configuration changesConstructor and Description |
---|
BambooDirectoryMonitorRefresherStarter(com.atlassian.event.api.EventPublisher eventPublisher,
com.atlassian.scheduler.SchedulerService schedulerService,
long refresherJobIntervalMillis) |
Modifier and Type | Method and Description |
---|---|
void |
handleEvent(com.atlassian.crowd.event.directory.DirectoryCreatedEvent event) |
void |
handleEvent(com.atlassian.crowd.event.directory.DirectoryDeletedEvent event) |
void |
handleEvent(com.atlassian.crowd.event.directory.DirectoryUpdatedEvent event) |
void |
onServerStartedEvent(ServerStartedEvent event) |
void |
registerListener() |
void |
unregisterListener() |
public BambooDirectoryMonitorRefresherStarter(com.atlassian.event.api.EventPublisher eventPublisher, com.atlassian.scheduler.SchedulerService schedulerService, long refresherJobIntervalMillis)
@PostConstruct public void registerListener()
@PreDestroy public void unregisterListener()
@EventListener public void onServerStartedEvent(ServerStartedEvent event)
@EventListener public void handleEvent(com.atlassian.crowd.event.directory.DirectoryUpdatedEvent event)
@EventListener public void handleEvent(com.atlassian.crowd.event.directory.DirectoryDeletedEvent event)
@EventListener public void handleEvent(com.atlassian.crowd.event.directory.DirectoryCreatedEvent event)
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.