Package org.apache.shiro.concurrent
Executor
, ExecutorService
,
and ScheduledExecutorService
implementations for transparent
Subject
association with threads in an asynchronous execution environment.-
Class Summary Class Description SubjectAwareExecutor SubjectAwareExecutorService ExecutorService
implementation that will automatically first associate any argumentRunnable
orCallable
instances with thecurrently available subject
and then dispatch the Subject-enabled runnable or callable to an underlying delegateExecutorService
instance.SubjectAwareScheduledExecutorService Same concept as theSubjectAwareExecutorService
but additionally supports theScheduledExecutorService
interface.