Class DelegatingSecurityContextSchedulingTaskExecutorTest

java.lang.Object
ubic.gemma.core.security.concurrent.DelegatingSecurityContextSchedulingTaskExecutorTest

public class DelegatingSecurityContextSchedulingTaskExecutorTest extends Object
Guards the shutdown-event round-trip for the scheduling wrapper. A pool-backed executor (ThreadPoolTaskExecutor) shuts down on ContextClosedEvent via ApplicationListener; the wrapper must re-expose that contract (so the event multicaster can resolve it at close without a BeanNotOfRequiredTypeException) and forward the event to the delegate.
  • Constructor Details

    • DelegatingSecurityContextSchedulingTaskExecutorTest

      public DelegatingSecurityContextSchedulingTaskExecutorTest()
  • Method Details

    • testWrapperIsApplicationListenerAndForwardsContextClosedEvent

      @Test public void testWrapperIsApplicationListenerAndForwardsContextClosedEvent()