Class RpcCallServiceImpl
java.lang.Object
ru.cg.webbpm.modules.webkit.rpc.impl.RpcCallServiceImpl
- All Implemented Interfaces:
RpcCallService
- Author:
- Abdulin Ildar
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final com.fasterxml.jackson.databind.ObjectMapper
protected final org.springframework.context.ApplicationContext
-
Constructor Summary
ConstructorsConstructorDescriptionRpcCallServiceImpl
(org.springframework.context.ApplicationContext webApplicationContext, com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
Method Summary
Modifier and TypeMethodDescriptioncall
(RpcRequest request) protected Method
findRpcMethod
(Object rpcService, String methodName, String[] argTypes) protected Object
findRpcService
(RpcRequest request, ObjectContext objectContext) protected Object[]
getParameters
(Method method, RpcRequest request) protected Throwable
-
Field Details
-
webApplicationContext
protected final org.springframework.context.ApplicationContext webApplicationContext -
objectMapper
protected final com.fasterxml.jackson.databind.ObjectMapper objectMapper
-
-
Constructor Details
-
RpcCallServiceImpl
@Autowired public RpcCallServiceImpl(org.springframework.context.ApplicationContext webApplicationContext, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Details
-
call
- Specified by:
call
in interfaceRpcCallService
- Throws:
RpcCallException
-
unwrapInvocationTargetException
-
findRpcMethod
-
findRpcService
-
getParameters
- Throws:
IOException
-