クラス DelegatingSecurityContextTaskScheduler
java.lang.ObjectSE
org.springframework.security.scheduling.DelegatingSecurityContextTaskScheduler
- 実装されているすべてのインターフェース:
org.springframework.scheduling.TaskScheduler
public class DelegatingSecurityContextTaskScheduler
extends ObjectSE
implements org.springframework.scheduling.TaskScheduler
トリガーが次の実行時間を示すときはいつでもそれを呼び出す
TaskScheduler の実装。- 導入:
- 5.1
コンストラクターの概要
コンストラクターコンストラクター説明DelegatingSecurityContextTaskScheduler(org.springframework.scheduling.TaskScheduler delegate) DelegatingSecurityContextTaskScheduler(org.springframework.scheduling.TaskScheduler delegateTaskScheduler, SecurityContext securityContext) 指定されたSecurityContextを使用する新しいDelegatingSecurityContextTaskSchedulerを作成します。メソッドのサマリー
修飾子と型メソッド説明getClock()schedule(RunnableSE task, InstantSE startTime) schedule(RunnableSE task, DateSE startTime) schedule(RunnableSE task, org.springframework.scheduling.Trigger trigger) scheduleAtFixedRate(RunnableSE task, long period) scheduleAtFixedRate(RunnableSE task, DurationSE period) scheduleAtFixedRate(RunnableSE task, InstantSE startTime, DurationSE period) scheduleAtFixedRate(RunnableSE task, DateSE startTime, long period) scheduleWithFixedDelay(RunnableSE task, long delay) scheduleWithFixedDelay(RunnableSE task, DurationSE delay) scheduleWithFixedDelay(RunnableSE task, InstantSE startTime, DurationSE delay) scheduleWithFixedDelay(RunnableSE task, DateSE startTime, long delay)
コンストラクターの詳細
DelegatingSecurityContextTaskScheduler
public DelegatingSecurityContextTaskScheduler(org.springframework.scheduling.TaskScheduler delegateTaskScheduler, SecurityContext securityContext) 指定されたSecurityContextを使用する新しいDelegatingSecurityContextTaskSchedulerを作成します。- パラメーター:
delegateTaskScheduler- 委譲先のTaskSchedulernull にはできません。securityContext- 各DelegatingSecurityContextRunnableに使用するSecurityContext、または現在のSecurityContextをデフォルトにする null- 導入:
- 5.6
DelegatingSecurityContextTaskScheduler
public DelegatingSecurityContextTaskScheduler(org.springframework.scheduling.TaskScheduler delegate) - パラメーター:
delegate- 委譲先のTaskExecutornull にはできません。
メソッドの詳細
schedule
public ScheduledFutureSE<?> schedule(RunnableSE task, org.springframework.scheduling.Trigger trigger) - 次で指定:
- インターフェース
org.springframework.scheduling.TaskSchedulerのschedule
schedule
- 次で指定:
- インターフェース
org.springframework.scheduling.TaskSchedulerのschedule
scheduleAtFixedRate
- 次で指定:
- インターフェース
org.springframework.scheduling.TaskSchedulerのscheduleAtFixedRate
scheduleAtFixedRate
- 次で指定:
- インターフェース
org.springframework.scheduling.TaskSchedulerのscheduleAtFixedRate
scheduleWithFixedDelay
- 次で指定:
- インターフェース
org.springframework.scheduling.TaskSchedulerのscheduleWithFixedDelay
scheduleWithFixedDelay
- 次で指定:
- インターフェース
org.springframework.scheduling.TaskSchedulerのscheduleWithFixedDelay
schedule
- 次で指定:
- インターフェース
org.springframework.scheduling.TaskSchedulerのschedule
scheduleAtFixedRate
public ScheduledFutureSE<?> scheduleAtFixedRate(RunnableSE task, InstantSE startTime, DurationSE period) - 次で指定:
- インターフェース
org.springframework.scheduling.TaskSchedulerのscheduleAtFixedRate
scheduleAtFixedRate
- 次で指定:
- インターフェース
org.springframework.scheduling.TaskSchedulerのscheduleAtFixedRate
scheduleWithFixedDelay
public ScheduledFutureSE<?> scheduleWithFixedDelay(RunnableSE task, InstantSE startTime, DurationSE delay) - 次で指定:
- インターフェース
org.springframework.scheduling.TaskSchedulerのscheduleWithFixedDelay
scheduleWithFixedDelay
- 次で指定:
- インターフェース
org.springframework.scheduling.TaskSchedulerのscheduleWithFixedDelay
getClock
- 次で指定:
- インターフェース
org.springframework.scheduling.TaskSchedulerのgetClock