Class JiraDirectorySynchronisationAggregate
java.lang.Object
com.atlassian.jira.crowd.embedded.JiraDirectorySynchronisationAggregate
- All Implemented Interfaces:
Startable
This class is Jira's Startable wrapper/holder for DirectoryMonitorRefresherStarter, DirectoryMonitorRefresherJob and
DirectoryPollerJobRunner components all responsible for directory synchronisation scheduling.
Note: Jira/Pico component lifecycle is not calling @PostConstruct annotated methods on component start - that's why
DirectoryMonitorRefresherStarter and DirectoryMonitorRefresherJob would not start if registered directly in Pico.
Neither would DirectoryPollerJobRunner.
- Since:
- v8.11
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.atlassian.scheduler.config.JobRunnerKey
-
Constructor Summary
ConstructorsConstructorDescriptionJiraDirectorySynchronisationAggregate
(com.atlassian.event.api.EventPublisher eventPublisher, com.atlassian.scheduler.SchedulerService schedulerService, com.atlassian.crowd.directory.loader.DirectoryInstanceLoader directoryInstanceLoader, com.atlassian.crowd.manager.directory.DirectoryManager directoryManager, com.atlassian.crowd.manager.directory.DirectorySynchroniser directorySynchroniser, com.atlassian.beehive.ClusterLockService clusterLockService, ClusterManager clusterManager, Clock clock) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
start()
This method will be called after the plugin system is fully initialised and all components added to the dependency injection framework.
-
Field Details
-
DIRECTORY_POLLER_JOB_RUNNER_KEY
public static final com.atlassian.scheduler.config.JobRunnerKey DIRECTORY_POLLER_JOB_RUNNER_KEY
-
-
Constructor Details
-
JiraDirectorySynchronisationAggregate
public JiraDirectorySynchronisationAggregate(com.atlassian.event.api.EventPublisher eventPublisher, com.atlassian.scheduler.SchedulerService schedulerService, com.atlassian.crowd.directory.loader.DirectoryInstanceLoader directoryInstanceLoader, com.atlassian.crowd.manager.directory.DirectoryManager directoryManager, com.atlassian.crowd.manager.directory.DirectorySynchroniser directorySynchroniser, com.atlassian.beehive.ClusterLockService clusterLockService, ClusterManager clusterManager, Clock clock)
-
-
Method Details
-
start
Description copied from interface:Startable
This method will be called after the plugin system is fully initialised and all components added to the dependency injection framework. -
onJiraStartedEvent
-
onJiraUpgradeFinishedEvent
-