public class AsyncApiProxyInvocationHandler
extends java.lang.Object
implements java.lang.reflect.InvocationHandler
| Constructor and Description |
|---|
AsyncApiProxyInvocationHandler() |
| Modifier and Type | Method and Description |
|---|---|
org.appops.core.service.meta.ServiceOpMeta |
createOpMeta(java.lang.reflect.Method method,
java.lang.Object[] args)
Creates service operation meta instance from method and arguments provided.
|
AsyncApiRestInvoker |
getApiRestAsyncInvoker() |
org.appops.core.service.signature.ServiceOpSignatureBuilder |
getSignatureBuilder() |
java.util.concurrent.CompletableFuture<org.asynchttpclient.Response> |
invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args) |
void |
setApiRestAsyncInvoker(AsyncApiRestInvoker apiRestInvoker) |
void |
setSignatureBuilder(org.appops.core.service.signature.ServiceOpSignatureBuilder signatureBuilder) |
public java.util.concurrent.CompletableFuture<org.asynchttpclient.Response> invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
throws java.lang.Throwable
invoke in interface java.lang.reflect.InvocationHandlerjava.lang.Throwablepublic org.appops.core.service.meta.ServiceOpMeta createOpMeta(java.lang.reflect.Method method,
java.lang.Object[] args)
throws java.lang.NoSuchMethodException,
java.lang.SecurityException
method - method definition from which meta information is to be collected.args - Argument values passed to method while invocation.java.lang.NoSuchMethodException - Thrown when particular method not found.java.lang.SecurityException - Thrown by the security manager to indicate security violation.public AsyncApiRestInvoker getApiRestAsyncInvoker()
@Inject public void setApiRestAsyncInvoker(AsyncApiRestInvoker apiRestInvoker)
public org.appops.core.service.signature.ServiceOpSignatureBuilder getSignatureBuilder()
@Inject public void setSignatureBuilder(org.appops.core.service.signature.ServiceOpSignatureBuilder signatureBuilder)
Copyright © 2022. All rights reserved.