Class MonitorSchedulerAutoConfiguration
java.lang.Object
se.swedenconnect.security.credential.spring.autoconfigure.MonitorSchedulerAutoConfiguration
- All Implemented Interfaces:
SchedulingConfigurer
@ConditionalOnBean({CredentialMonitorBean.class,org.springframework.scheduling.TaskScheduler.class})
@ConditionalOnProperty(prefix="credential.bundles.monitoring",
name="enabled",
havingValue="true",
matchIfMissing=false)
@AutoConfiguration
@AutoConfigureAfter(SpringCredentialBundlesAutoConfiguration.class)
public class MonitorSchedulerAutoConfiguration
extends Object
implements SchedulingConfigurer
For configuring scheduling of credential monitors.
- Author:
- Martin Lindström
-
Constructor Summary
ConstructorDescriptionMonitorSchedulerAutoConfiguration
(TaskScheduler taskScheduler, CredentialMonitorBean monitorBean, SpringCredentialBundlesConfigurationProperties properties) -
Method Summary
-
Constructor Details
-
MonitorSchedulerAutoConfiguration
public MonitorSchedulerAutoConfiguration(TaskScheduler taskScheduler, CredentialMonitorBean monitorBean, SpringCredentialBundlesConfigurationProperties properties)
-
-
Method Details
-
configureTasks
- Specified by:
configureTasks
in interfaceSchedulingConfigurer
-