public class SolonServiceInvoker extends Object implements org.apache.seata.saga.engine.invoker.ServiceInvoker
| Constructor and Description |
|---|
SolonServiceInvoker() |
| Modifier and Type | Method and Description |
|---|---|
protected Class |
classForName(String className) |
protected Object |
doInvoke(org.apache.seata.saga.statelang.domain.impl.ServiceTaskStateImpl state,
Object[] input) |
protected Method |
findMethod(Class<?> clazz,
String methodName,
List<String> parameterTypes) |
static Method |
findMethodWithMinimalParameters(Method[] methods,
String methodName) |
protected Class |
getPrimitiveClass(String className) |
String |
getSagaJsonParser() |
Object |
invoke(org.apache.seata.saga.statelang.domain.ServiceTaskState serviceTaskState,
Object... input) |
protected Object |
invokeMethod(Object serviceBean,
Method method,
Object... input) |
protected boolean |
isPrimitive(Class<?> clazz) |
void |
setSagaJsonParser(String sagaJsonParser) |
void |
setThreadPoolExecutor(ThreadPoolExecutor threadPoolExecutor) |
protected Object |
toJavaObject(Object value,
Class paramType) |
public Object invoke(org.apache.seata.saga.statelang.domain.ServiceTaskState serviceTaskState, Object... input) throws Throwable
invoke in interface org.apache.seata.saga.engine.invoker.ServiceInvokerThrowableprotected Object doInvoke(org.apache.seata.saga.statelang.domain.impl.ServiceTaskStateImpl state, Object[] input) throws Throwable
Throwablepublic void setThreadPoolExecutor(ThreadPoolExecutor threadPoolExecutor)
protected Method findMethod(Class<?> clazz, String methodName, List<String> parameterTypes)
public static Method findMethodWithMinimalParameters(Method[] methods, String methodName) throws IllegalArgumentException
IllegalArgumentExceptionprotected Object invokeMethod(Object serviceBean, Method method, Object... input) throws Throwable
Throwableprotected boolean isPrimitive(Class<?> clazz)
public String getSagaJsonParser()
public void setSagaJsonParser(String sagaJsonParser)
Copyright © 2025. All rights reserved.