T - public class ExecutorProxyFactory<T> extends DelegatingProxyFactory<T>
| Constructor and Description |
|---|
ExecutorProxyFactory(T delegate)
Constructor.
|
ExecutorProxyFactory(T delegate,
Executor executor)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Executor |
getExecutor()
Returns used executor.
|
protected Object |
invoke(DelegatingMethodInvocation<T> delegatingMethodInvocation)
Method to override in child classes.
|
void |
setExecutor(Executor executor)
Sets used executor.
|
getDelegate, invoke, newProxy, newProxy, newProxypublic ExecutorProxyFactory(T delegate)
delegate - Delegate objectpublic ExecutorProxyFactory(T delegate, Executor executor)
delegate - Delegate objectexecutor - Executor used, see Executorspublic Executor getExecutor()
public void setExecutor(Executor executor)
executor - Executorprotected Object invoke(DelegatingMethodInvocation<T> delegatingMethodInvocation) throws Throwable
DelegatingProxyFactoryinvoke in class DelegatingProxyFactory<T>delegatingMethodInvocation - Method invocation (arguments, method name, etc.)Throwable - Method invocation raised exceptionCopyright © 2019. All rights reserved.