类的使用
org.springframework.remoting.support.RemoteInvocation
使用RemoteInvocation的程序包 程序包 说明 org.springframework.jms.remoting Remoting classes for transparent Java-to-Java remoting via a JMS provider.org.springframework.remoting.httpinvoker Remoting classes for transparent Java-to-Java remoting via HTTP invokers.org.springframework.remoting.rmi Remoting classes for conventional RMI and transparent remoting via RMI invokers.org.springframework.remoting.support Generic support classes for remoting implementations.org.springframework.jms.remoting中RemoteInvocation的使用
返回RemoteInvocation的org.springframework.jms.remoting中的方法 修饰符和类型 方法 说明 protected RemoteInvocationJmsInvokerClientInterceptor. createRemoteInvocation(MethodInvocation methodInvocation)Create a newRemoteInvocationobject for the given AOP method invocation.protected RemoteInvocationJmsInvokerServiceExporter. onInvalidRequest(Message requestMessage)Callback that is invoked byJmsInvokerServiceExporter.readRemoteInvocation(javax.jms.Message)when it encounters an invalid request message.protected RemoteInvocationJmsInvokerServiceExporter. readRemoteInvocation(Message requestMessage)Read a RemoteInvocation from the given JMS message.参数类型为RemoteInvocation的org.springframework.jms.remoting中的方法 修饰符和类型 方法 说明 protected MessageJmsInvokerClientInterceptor. createRequestMessage(Session session, RemoteInvocation invocation)Create the invoker request message.protected RemoteInvocationResultJmsInvokerClientInterceptor. executeRequest(RemoteInvocation invocation)Execute the given remote invocation, sending an invoker request message to this accessor's target queue and waiting for a corresponding response.protected RemoteInvocationResultJmsInvokerClientInterceptor. onReceiveTimeout(RemoteInvocation invocation)Callback that is invoked byJmsInvokerClientInterceptor.executeRequest(org.springframework.remoting.support.RemoteInvocation)when the receive timeout has expired for the specifiedRemoteInvocation.org.springframework.remoting.httpinvoker中RemoteInvocation的使用
返回RemoteInvocation的org.springframework.remoting.httpinvoker中的方法 修饰符和类型 方法 说明 protected RemoteInvocationHttpInvokerServiceExporter. readRemoteInvocation(HttpServletRequest request)Read a RemoteInvocation from the given HTTP request.protected RemoteInvocationHttpInvokerServiceExporter. readRemoteInvocation(HttpServletRequest request, InputStream is)Deserialize a RemoteInvocation object from the given InputStream.protected RemoteInvocationSimpleHttpInvokerServiceExporter. readRemoteInvocation(com.sun.net.httpserver.HttpExchange exchange)已过时。Read a RemoteInvocation from the given HTTP request.protected RemoteInvocationSimpleHttpInvokerServiceExporter. readRemoteInvocation(com.sun.net.httpserver.HttpExchange exchange, InputStream is)已过时。Deserialize a RemoteInvocation object from the given InputStream.参数类型为RemoteInvocation的org.springframework.remoting.httpinvoker中的方法 修饰符和类型 方法 说明 protected voidAbstractHttpInvokerRequestExecutor. doWriteRemoteInvocation(RemoteInvocation invocation, ObjectOutputStream oos)Perform the actual writing of the given invocation object to the given ObjectOutputStream.RemoteInvocationResultAbstractHttpInvokerRequestExecutor. executeRequest(HttpInvokerClientConfiguration config, RemoteInvocation invocation)protected RemoteInvocationResultHttpInvokerClientInterceptor. executeRequest(RemoteInvocation invocation)Execute the given remote invocation via theHttpInvokerRequestExecutor.protected RemoteInvocationResultHttpInvokerClientInterceptor. executeRequest(RemoteInvocation invocation, MethodInvocation originalInvocation)Execute the given remote invocation via theHttpInvokerRequestExecutor.RemoteInvocationResultHttpInvokerRequestExecutor. executeRequest(HttpInvokerClientConfiguration config, RemoteInvocation invocation)Execute a request to send the given remote invocation.protected ByteArrayOutputStreamAbstractHttpInvokerRequestExecutor. getByteArrayOutputStream(RemoteInvocation invocation)Serialize the given RemoteInvocation into a ByteArrayOutputStream.protected voidAbstractHttpInvokerRequestExecutor. writeRemoteInvocation(RemoteInvocation invocation, OutputStream os)Serialize the given RemoteInvocation to the given OutputStream.org.springframework.remoting.rmi中RemoteInvocation的使用
返回RemoteInvocation的org.springframework.remoting.rmi中的方法 修饰符和类型 方法 说明 protected RemoteInvocationJndiRmiClientInterceptor. createRemoteInvocation(MethodInvocation methodInvocation)Create a new RemoteInvocation object for the given AOP method invocation.protected RemoteInvocationRemoteInvocationSerializingExporter. doReadRemoteInvocation(ObjectInputStream ois)Perform the actual reading of an invocation result object from the given ObjectInputStream.参数类型为RemoteInvocation的org.springframework.remoting.rmi中的方法 修饰符和类型 方法 说明 protected ObjectRmiBasedExporter. invoke(RemoteInvocation invocation, Object targetObject)Redefined here to be visible to RmiInvocationWrapper.ObjectRmiInvocationHandler. invoke(RemoteInvocation invocation)Apply the given invocation to the target object.org.springframework.remoting.support中RemoteInvocation的使用
返回RemoteInvocation的org.springframework.remoting.support中的方法 修饰符和类型 方法 说明 RemoteInvocationDefaultRemoteInvocationFactory. createRemoteInvocation(MethodInvocation methodInvocation)protected RemoteInvocationRemoteInvocationBasedAccessor. createRemoteInvocation(MethodInvocation methodInvocation)Create a new RemoteInvocation object for the given AOP method invocation.RemoteInvocationRemoteInvocationFactory. createRemoteInvocation(MethodInvocation methodInvocation)Create a serializable RemoteInvocation object from the given AOP MethodInvocation.参数类型为RemoteInvocation的org.springframework.remoting.support中的方法 修饰符和类型 方法 说明 ObjectDefaultRemoteInvocationExecutor. invoke(RemoteInvocation invocation, Object targetObject)protected ObjectRemoteInvocationBasedExporter. invoke(RemoteInvocation invocation, Object targetObject)Apply the given remote invocation to the given target object.ObjectRemoteInvocationExecutor. invoke(RemoteInvocation invocation, Object targetObject)Perform this invocation on the given target object.protected RemoteInvocationResultRemoteInvocationBasedExporter. invokeAndCreateResult(RemoteInvocation invocation, Object targetObject)Apply the given remote invocation to the given target object, wrapping the invocation result in a serializable RemoteInvocationResult object.