@Interceptor public class AsynchronousMethodInterceptor extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
AsynchronousMethodInterceptor.InterceptedAsyncResult
Used by Asynchronous Simulation to create a changeable Result-Future
|
| Constructor and Description |
|---|
AsynchronousMethodInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
Object |
invoking(javax.interceptor.InvocationContext ctx)
in case of an asynchronous method simulate by returning a future which will be filled later by
AsynchronousManager-Call.
|
public Object invoking(javax.interceptor.InvocationContext ctx) throws Exception
ctx - the InvocationContextException - if the intercepted function produces an exception.Copyright © 2017–2018. All rights reserved.