Class LdapDirectoryPoolPruner
java.lang.Object
com.atlassian.crowd.manager.directory.monitor.LdapDirectoryPoolPruner
- All Implemented Interfaces:
com.atlassian.scheduler.JobRunner
-
Constructor Summary
ConstructorsConstructorDescriptionLdapDirectoryPoolPruner
(com.atlassian.scheduler.SchedulerService schedulerService, DirectoryManager directoryManager, SpringLdapPooledContextSourceProvider springLdapPooledContextSourceProvider, com.atlassian.event.api.EventPublisher eventPublisher, DcLicenseChecker dcLicenseChecker) -
Method Summary
Modifier and TypeMethodDescriptionvoid
onApplicationReady
(ApplicationReadyEvent applicationStartedEvent) void
void
void
com.atlassian.scheduler.JobRunnerResponse
runJob
(com.atlassian.scheduler.JobRunnerRequest request)
-
Constructor Details
-
LdapDirectoryPoolPruner
public LdapDirectoryPoolPruner(com.atlassian.scheduler.SchedulerService schedulerService, DirectoryManager directoryManager, SpringLdapPooledContextSourceProvider springLdapPooledContextSourceProvider, com.atlassian.event.api.EventPublisher eventPublisher, DcLicenseChecker dcLicenseChecker)
-
-
Method Details
-
registerListener
@PostConstruct public void registerListener() -
onDestroy
@PreDestroy public void onDestroy() -
onApplicationReady
@EventListener public void onApplicationReady(ApplicationReadyEvent applicationStartedEvent) throws com.atlassian.scheduler.SchedulerServiceException - Throws:
com.atlassian.scheduler.SchedulerServiceException
-
registerJobRunner
public void registerJobRunner() throws com.atlassian.scheduler.SchedulerServiceException- Throws:
com.atlassian.scheduler.SchedulerServiceException
-
runJob
@Nullable public com.atlassian.scheduler.JobRunnerResponse runJob(com.atlassian.scheduler.JobRunnerRequest request) - Specified by:
runJob
in interfacecom.atlassian.scheduler.JobRunner
-