public final class ImpersonatingScheduledExecutorService extends InterceptingScheduledExecutorService
ImpersonatingExecutorService
for scheduled services.Constructor and Description |
---|
ImpersonatingScheduledExecutorService(ScheduledExecutorService base,
org.acegisecurity.Authentication authentication)
Creates a wrapper service.
|
Modifier and Type | Method and Description |
---|---|
protected <V> Callable<V> |
wrap(Callable<V> r) |
protected Runnable |
wrap(Runnable r) |
delegate, schedule, schedule, scheduleAtFixedRate, scheduleWithFixedDelay
execute, invokeAll, invokeAll, invokeAny, invokeAny, submit, submit, submit
awaitTermination, isShutdown, isTerminated, shutdown, shutdownNow
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.acegisecurity.Authentication authentication)
base
- the base serviceauthentication
- for example ACL.SYSTEM
protected Runnable wrap(Runnable r)
wrap
in class InterceptingExecutorService
protected <V> Callable<V> wrap(Callable<V> r)
wrap
in class InterceptingExecutorService
Copyright © 2004–2017. All rights reserved.