public class SpringBeanServiceInvoker extends Object implements ServiceInvoker, org.springframework.context.ApplicationContextAware
| 构造器和说明 |
|---|
SpringBeanServiceInvoker() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected Class |
classForName(String className) |
protected Method |
findMethod(Class<?> clazz,
String methodName,
List<String> parameterTypes) |
protected Class |
getPrimitiveClass(String className) |
Object |
invoke(ServiceTaskState serviceTaskState,
Object... input) |
protected Object |
invokeMethod(Object serviceBean,
Method method,
Object... input) |
protected boolean |
isPrimitive(Class<?> clazz) |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
protected Object |
toJavaObject(Object value,
Class paramType) |
public Object invoke(ServiceTaskState serviceTaskState, Object... input)
invoke 在接口中 ServiceInvokerpublic void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
setApplicationContext 在接口中 org.springframework.context.ApplicationContextAwareprotected Method findMethod(Class<?> clazz, String methodName, List<String> parameterTypes)
protected boolean isPrimitive(Class<?> clazz)
Copyright © 2019 Seata. All rights reserved.