public final class ImpersonatingScheduledExecutorService extends InterceptingScheduledExecutorService
ImpersonatingExecutorService
for scheduled services.Constructor and Description |
---|
ImpersonatingScheduledExecutorService(ScheduledExecutorService base,
org.springframework.security.core.Authentication authentication)
Creates a wrapper service.
|
ImpersonatingScheduledExecutorService(ScheduledExecutorService base,
Authentication authentication)
|
Modifier and Type | Method and Description |
---|---|
protected <V> Callable<V> |
wrap(Callable<V> r) |
protected Runnable |
wrap(Runnable r) |
delegate, schedule, schedule, scheduleAtFixedRate, scheduleWithFixedDelay
awaitTermination, execute, invokeAll, invokeAll, invokeAny, invokeAny, isShutdown, isTerminated, shutdown, shutdownNow, submit, submit, submit, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
awaitTermination, invokeAll, invokeAll, invokeAny, invokeAny, isShutdown, isTerminated, shutdown, shutdownNow, submit, submit, submit
public ImpersonatingScheduledExecutorService(ScheduledExecutorService base, org.springframework.security.core.Authentication authentication)
base
- the base serviceauthentication
- for example ACL.SYSTEM2
@Deprecated public ImpersonatingScheduledExecutorService(ScheduledExecutorService base, Authentication authentication)
protected Runnable wrap(Runnable r)
wrap
in class InterceptingExecutorService
protected <V> Callable<V> wrap(Callable<V> r)
wrap
in class InterceptingExecutorService
Copyright © 2004–2022. All rights reserved.