Class BambooDirectoryMonitorRefresherStarter

java.lang.Object
com.atlassian.bamboo.crowd.BambooDirectoryMonitorRefresherStarter

public final class BambooDirectoryMonitorRefresherStarter extends Object
Handles scheduling DirectoryMonitorRefresherJob when the application is first started, restored, or when the directory configuration changes
  • Constructor Details

    • BambooDirectoryMonitorRefresherStarter

      public BambooDirectoryMonitorRefresherStarter(com.atlassian.event.api.EventPublisher eventPublisher, com.atlassian.scheduler.SchedulerService schedulerService, long refresherJobIntervalMillis)
  • Method Details

    • 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)