クラス DelegatingSecurityContextScheduledExecutorService
java.lang.ObjectSE
org.springframework.security.concurrent.DelegatingSecurityContextExecutor
org.springframework.security.concurrent.DelegatingSecurityContextExecutorService
org.springframework.security.concurrent.DelegatingSecurityContextScheduledExecutorService
- 実装されているすべてのインターフェース:
ExecutorSE、ExecutorServiceSE、ScheduledExecutorServiceSE
public final class DelegatingSecurityContextScheduledExecutorService
extends DelegatingSecurityContextExecutorService
implements ScheduledExecutorServiceSE
各
RunnableSE を DelegatingSecurityContextRunnable でラップし、各 CallableSE を DelegatingSecurityContextCallable でラップする ScheduledExecutorServiceSE。- 導入:
- 3.2
コンストラクターの概要
コンストラクターコンストラクター説明SecurityContextHolderから現在のSecurityContextを使用する新しいDelegatingSecurityContextScheduledExecutorServiceを作成します。DelegatingSecurityContextScheduledExecutorService(ScheduledExecutorServiceSE delegateScheduledExecutorService, SecurityContext securityContext) 指定されたSecurityContextを使用する新しいDelegatingSecurityContextScheduledExecutorServiceを作成します。メソッドのサマリー
修飾子と型メソッド説明schedule(RunnableSE command, long delay, TimeUnitSE unit) <V> ScheduledFutureSE<V>schedule(CallableSE<V> callable, long delay, TimeUnitSE unit) scheduleAtFixedRate(RunnableSE command, long initialDelay, long period, TimeUnitSE unit) scheduleWithFixedDelay(RunnableSE command, long initialDelay, long delay, TimeUnitSE unit) protected final RunnableSEwrap(RunnableSE delegate) protected final <T> CallableSE<T>wrap(CallableSE<T> delegate) クラス org.springframework.security.concurrent.DelegatingSecurityContextExecutorService から継承されたメソッド
awaitTermination, invokeAll, invokeAll, invokeAny, invokeAny, isShutdown, isTerminated, shutdown, shutdownNow, submit, submit, submitクラス org.springframework.security.concurrent.DelegatingSecurityContextExecutor から継承されたメソッド
execute, getDelegateExecutor, setSecurityContextHolderStrategyクラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSEインターフェース java.util.concurrent.ExecutorSE から継承されたメソッド
executeSEインターフェース java.util.concurrent.ExecutorServiceSE から継承されたメソッド
awaitTerminationSE, invokeAllSE, invokeAllSE, invokeAnySE, invokeAnySE, isShutdown, isTerminated, shutdown, shutdownNow, submitSE, submitSE, submitSE
コンストラクターの詳細
DelegatingSecurityContextScheduledExecutorService
public DelegatingSecurityContextScheduledExecutorService(ScheduledExecutorServiceSE delegateScheduledExecutorService, SecurityContext securityContext) 指定されたSecurityContextを使用する新しいDelegatingSecurityContextScheduledExecutorServiceを作成します。- パラメーター:
delegateScheduledExecutorService- 委譲先のScheduledExecutorServiceSE。null にすることはできません。securityContext- 各DelegatingSecurityContextRunnableおよび各DelegatingSecurityContextCallableに使用するSecurityContext
DelegatingSecurityContextScheduledExecutorService
SecurityContextHolderから現在のSecurityContextを使用する新しいDelegatingSecurityContextScheduledExecutorServiceを作成します。- パラメーター:
delegate- 委譲先のScheduledExecutorServiceSE。null にすることはできません。
メソッドの詳細
schedule
- 次で指定:
- インターフェース
ScheduledExecutorServiceSEのscheduleSE
schedule
- 次で指定:
- インターフェース
ScheduledExecutorServiceSEのscheduleSE
scheduleAtFixedRate
public ScheduledFutureSE<?> scheduleAtFixedRate(RunnableSE command, long initialDelay, long period, TimeUnitSE unit) - 次で指定:
- インターフェース
ScheduledExecutorServiceSEのscheduleAtFixedRateSE
scheduleWithFixedDelay
public ScheduledFutureSE<?> scheduleWithFixedDelay(RunnableSE command, long initialDelay, long delay, TimeUnitSE unit) - 次で指定:
- インターフェース
ScheduledExecutorServiceSEのscheduleWithFixedDelaySE
wrap
wrap