Class ReflectionInvoker

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object invoke​(java.lang.Object instance, RpcMethod method, java.lang.Object[] params, cn.imaq.autumn.rpc.serialization.RpcSerialization serialization)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ReflectionInvoker

        public ReflectionInvoker()
    • Method Detail

      • invoke

        public java.lang.Object invoke​(java.lang.Object instance,
                                       RpcMethod method,
                                       java.lang.Object[] params,
                                       cn.imaq.autumn.rpc.serialization.RpcSerialization serialization)
                                throws RpcInvocationException,
                                       java.lang.reflect.InvocationTargetException
        Specified by:
        invoke in interface RpcMethodInvoker
        Throws:
        RpcInvocationException
        java.lang.reflect.InvocationTargetException