Class BambooDirectoryMonitorRefresherStarter


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

      • BambooDirectoryMonitorRefresherStarter

        public BambooDirectoryMonitorRefresherStarter​(com.atlassian.event.api.EventPublisher eventPublisher,
                                                      com.atlassian.scheduler.SchedulerService schedulerService,
                                                      long refresherJobIntervalMillis)
    • 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)