Package com.atlassian.bamboo.crowd
Class BambooDirectoryMonitorRefresherStarter
java.lang.Object
com.atlassian.bamboo.crowd.BambooDirectoryMonitorRefresherStarter
Handles scheduling
DirectoryMonitorRefresherJob
when the application is first started, restored, or when the
directory configuration changes-
Constructor Summary
ConstructorDescriptionBambooDirectoryMonitorRefresherStarter
(com.atlassian.event.api.EventPublisher eventPublisher, com.atlassian.scheduler.SchedulerService schedulerService, long refresherJobIntervalMillis) -
Method Summary
Modifier and TypeMethodDescriptionvoid
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
void
-
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
-
onNodePromotedToPrimary
-
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)
-