public class PojoProvider
extends RPCProvider
Constructor and Description |
---|
PojoProvider() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getServiceObject(MessageContext msgContext,
Handler service,
java.lang.String clsName,
IntHolder scopeHolder) |
protected java.lang.Object |
invokeMethod(MessageContext msgContext,
java.lang.reflect.Method interfaceMethod,
java.lang.Object pojo,
java.lang.Object[] arguments) |
public java.lang.Object getServiceObject(MessageContext msgContext, Handler service, java.lang.String clsName, IntHolder scopeHolder) throws java.lang.Exception
msgContext
- msgContextservice
- serviceclsName
- clsNamescopeHolder
- scopeHolderjava.lang.Exception
protected java.lang.Object invokeMethod(MessageContext msgContext, java.lang.reflect.Method interfaceMethod, java.lang.Object pojo, java.lang.Object[] arguments) throws java.lang.Exception
msgContext
- msgContextinterfaceMethod
- interfaceMethodpojo
- pojoarguments
- argumentsjava.lang.Exception