Class LdapSchedulerTaskConfiguration
java.lang.Object
com.foreach.across.modules.ldap.config.LdapSchedulerTaskConfiguration
@Configuration
@EnableScheduling
@ConditionalOnBean(LdapSynchronizationTask.class)
public class LdapSchedulerTaskConfiguration
extends Object
- Since:
- 1.0.0
- Author:
- Marc Vanbrabant
-
Constructor Summary
ConstructorDescriptionLdapSchedulerTaskConfiguration
(LdapSynchronizationTask ldapSynchronizationTask, LdapModuleSettings ldapModuleSettings) -
Method Summary
Modifier and TypeMethodDescriptionvoid
registerTasks
(com.foreach.across.core.events.AcrossContextBootstrappedEvent ignore) org.springframework.scheduling.TaskScheduler
-
Constructor Details
-
LdapSchedulerTaskConfiguration
public LdapSchedulerTaskConfiguration(LdapSynchronizationTask ldapSynchronizationTask, LdapModuleSettings ldapModuleSettings)
-
-
Method Details
-
registerTasks
@EventListener public void registerTasks(com.foreach.across.core.events.AcrossContextBootstrappedEvent ignore) -
taskScheduler
@Bean(destroyMethod="shutdown") public org.springframework.scheduling.TaskScheduler taskScheduler()
-