public class ExecutorInterceptor extends Object implements Interceptor
Executor to execute the method invocation.
Note: Only void methods can be intercepted using this class! Any attempts to intercept non-void
methods will result in an IllegalArgumentException. If the proxy interfaces include non-void methods, try
using a FilteredInterceptor along with a
ReturnTypeFilter to wrap an instance of this class.
Dependencies:
| Constructor and Description |
|---|
ExecutorInterceptor(EDU.oswego.cs.dl.util.concurrent.Executor executor) |
public ExecutorInterceptor(EDU.oswego.cs.dl.util.concurrent.Executor executor)
public Object intercept(Invocation invocation) throws Throwable
intercept in interface InterceptorThrowableCopyright © 2005-2013 Apache Software Foundation. All Rights Reserved.