Branch: refs/heads/feature/SEAMCRON-9-expose-future-exceptions
Home:
https://github.com/seam/cron
Commit: 8040ed410ebd3b5789f2048de3ac3752936c0885
https://github.com/seam/cron/commit/8040ed410ebd3b5789f2048de3ac3752936c0885
Author: Pete Royle <pete(a)screamingcoder.com>
Date: 2015-05-13 (Wed, 13 May 2015)
Changed paths:
M
providers/asynchronous/quartz/src/main/java/org/jboss/seam/cron/asynchronous/quartz/AsyncMethodInvocationJob.java
M
providers/asynchronous/quartz/src/main/java/org/jboss/seam/cron/asynchronous/quartz/QuartzAsynchronousProvider.java
M
providers/asynchronous/queuj/src/main/java/org/jboss/seam/cron/asynchronous/queuj/AsyncMethodInvocationJob.java
M
providers/asynchronous/queuj/src/main/java/org/jboss/seam/cron/asynchronous/queuj/QueuJAsynchronousProvider.java
M
providers/asynchronous/threads/src/main/java/org/jboss/seam/cron/asynchronous/threads/CallableFutureInvoker.java
M
providers/asynchronous/threads/src/main/java/org/jboss/seam/cron/asynchronous/threads/FutureInvoker.java
M spi/src/main/java/org/jboss/seam/cron/spi/asynchronous/AsynchronousInterceptor.java
M
spi/src/main/java/org/jboss/seam/cron/spi/asynchronous/CronAsynchronousProvider.java
M spi/src/main/java/org/jboss/seam/cron/spi/asynchronous/Invoker.java
A spi/src/main/java/org/jboss/seam/cron/spi/asynchronous/support/CallableInvoker.java
R
spi/src/main/java/org/jboss/seam/cron/spi/asynchronous/support/FutureInvokerSupport.java
M
tck/src/test/java/org/jboss/seam/cron/test/asynchronous/tck/SeamCronAsynchronousTCKTest.java
Log Message:
-----------
SEAMCRON-9: Store exception thrown during executeInvocationContext so we can rethrow it
during the Callable.call() method that the real Future implementation will be calling (via
CallableInvoker). Added rethrowing of timeouts during the async test to catch failure to
throw an exception during get(). Renamed FutureInvokerSupport to CallableInvoker.