Package com.atlassian.bamboo.crowd
Class BambooDirectoryMonitorRefresherStarter
- java.lang.Object
-
- com.atlassian.bamboo.crowd.BambooDirectoryMonitorRefresherStarter
-
public final class BambooDirectoryMonitorRefresherStarter extends Object
Handles schedulingDirectoryMonitorRefresherJob
when the application is first started, restored, or when the directory configuration changes
-
-
Constructor Summary
Constructors Constructor Description BambooDirectoryMonitorRefresherStarter(com.atlassian.event.api.EventPublisher eventPublisher, com.atlassian.scheduler.SchedulerService schedulerService, long refresherJobIntervalMillis)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handleEvent(@NotNull com.atlassian.crowd.event.directory.DirectoryCreatedEvent event)
void
handleEvent(@NotNull com.atlassian.crowd.event.directory.DirectoryDeletedEvent event)
void
handleEvent(@NotNull com.atlassian.crowd.event.directory.DirectoryUpdatedEvent event)
void
onNodePromotedToPrimary(@NotNull NodePromotedEvent event)
void
onServerStartedEvent(@NotNull ServerStartedEvent event)
void
registerListener()
void
unregisterListener()
-
-
-
Method Detail
-
registerListener
@PostConstruct public void registerListener()
-
unregisterListener
@PreDestroy public void unregisterListener()
-
onServerStartedEvent
@EventListener public void onServerStartedEvent(@NotNull @NotNull ServerStartedEvent event)
-
onNodePromotedToPrimary
@EventListener public void onNodePromotedToPrimary(@NotNull @NotNull NodePromotedEvent event)
-
handleEvent
@EventListener public void handleEvent(@NotNull @NotNull com.atlassian.crowd.event.directory.DirectoryUpdatedEvent event)
-
handleEvent
@EventListener public void handleEvent(@NotNull @NotNull com.atlassian.crowd.event.directory.DirectoryDeletedEvent event)
-
handleEvent
@EventListener public void handleEvent(@NotNull @NotNull com.atlassian.crowd.event.directory.DirectoryCreatedEvent event)
-
-