类的使用
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 RemoteInvocation
JmsInvokerClientInterceptor. createRemoteInvocation(MethodInvocation methodInvocation)
Create a newRemoteInvocation
object for the given AOP method invocation.protected RemoteInvocation
JmsInvokerServiceExporter. onInvalidRequest(Message requestMessage)
Callback that is invoked byJmsInvokerServiceExporter.readRemoteInvocation(javax.jms.Message)
when it encounters an invalid request message.protected RemoteInvocation
JmsInvokerServiceExporter. readRemoteInvocation(Message requestMessage)
Read a RemoteInvocation from the given JMS message.参数类型为RemoteInvocation的org.springframework.jms.remoting中的方法 修饰符和类型 方法 说明 protected Message
JmsInvokerClientInterceptor. createRequestMessage(Session session, RemoteInvocation invocation)
Create the invoker request message.protected RemoteInvocationResult
JmsInvokerClientInterceptor. 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 RemoteInvocationResult
JmsInvokerClientInterceptor. 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 RemoteInvocation
HttpInvokerServiceExporter. readRemoteInvocation(HttpServletRequest request)
Read a RemoteInvocation from the given HTTP request.protected RemoteInvocation
HttpInvokerServiceExporter. readRemoteInvocation(HttpServletRequest request, InputStream is)
Deserialize a RemoteInvocation object from the given InputStream.protected RemoteInvocation
SimpleHttpInvokerServiceExporter. readRemoteInvocation(com.sun.net.httpserver.HttpExchange exchange)
已过时。Read a RemoteInvocation from the given HTTP request.protected RemoteInvocation
SimpleHttpInvokerServiceExporter. readRemoteInvocation(com.sun.net.httpserver.HttpExchange exchange, InputStream is)
已过时。Deserialize a RemoteInvocation object from the given InputStream.参数类型为RemoteInvocation的org.springframework.remoting.httpinvoker中的方法 修饰符和类型 方法 说明 protected void
AbstractHttpInvokerRequestExecutor. doWriteRemoteInvocation(RemoteInvocation invocation, ObjectOutputStream oos)
Perform the actual writing of the given invocation object to the given ObjectOutputStream.RemoteInvocationResult
AbstractHttpInvokerRequestExecutor. executeRequest(HttpInvokerClientConfiguration config, RemoteInvocation invocation)
protected RemoteInvocationResult
HttpInvokerClientInterceptor. executeRequest(RemoteInvocation invocation)
Execute the given remote invocation via theHttpInvokerRequestExecutor
.protected RemoteInvocationResult
HttpInvokerClientInterceptor. executeRequest(RemoteInvocation invocation, MethodInvocation originalInvocation)
Execute the given remote invocation via theHttpInvokerRequestExecutor
.RemoteInvocationResult
HttpInvokerRequestExecutor. executeRequest(HttpInvokerClientConfiguration config, RemoteInvocation invocation)
Execute a request to send the given remote invocation.protected ByteArrayOutputStream
AbstractHttpInvokerRequestExecutor. getByteArrayOutputStream(RemoteInvocation invocation)
Serialize the given RemoteInvocation into a ByteArrayOutputStream.protected void
AbstractHttpInvokerRequestExecutor. writeRemoteInvocation(RemoteInvocation invocation, OutputStream os)
Serialize the given RemoteInvocation to the given OutputStream.org.springframework.remoting.rmi中RemoteInvocation的使用
返回RemoteInvocation的org.springframework.remoting.rmi中的方法 修饰符和类型 方法 说明 protected RemoteInvocation
JndiRmiClientInterceptor. createRemoteInvocation(MethodInvocation methodInvocation)
Create a new RemoteInvocation object for the given AOP method invocation.protected RemoteInvocation
RemoteInvocationSerializingExporter. doReadRemoteInvocation(ObjectInputStream ois)
Perform the actual reading of an invocation result object from the given ObjectInputStream.参数类型为RemoteInvocation的org.springframework.remoting.rmi中的方法 修饰符和类型 方法 说明 protected Object
RmiBasedExporter. invoke(RemoteInvocation invocation, Object targetObject)
Redefined here to be visible to RmiInvocationWrapper.Object
RmiInvocationHandler. invoke(RemoteInvocation invocation)
Apply the given invocation to the target object.org.springframework.remoting.support中RemoteInvocation的使用
返回RemoteInvocation的org.springframework.remoting.support中的方法 修饰符和类型 方法 说明 RemoteInvocation
DefaultRemoteInvocationFactory. createRemoteInvocation(MethodInvocation methodInvocation)
protected RemoteInvocation
RemoteInvocationBasedAccessor. createRemoteInvocation(MethodInvocation methodInvocation)
Create a new RemoteInvocation object for the given AOP method invocation.RemoteInvocation
RemoteInvocationFactory. createRemoteInvocation(MethodInvocation methodInvocation)
Create a serializable RemoteInvocation object from the given AOP MethodInvocation.参数类型为RemoteInvocation的org.springframework.remoting.support中的方法 修饰符和类型 方法 说明 Object
DefaultRemoteInvocationExecutor. invoke(RemoteInvocation invocation, Object targetObject)
protected Object
RemoteInvocationBasedExporter. invoke(RemoteInvocation invocation, Object targetObject)
Apply the given remote invocation to the given target object.Object
RemoteInvocationExecutor. invoke(RemoteInvocation invocation, Object targetObject)
Perform this invocation on the given target object.protected RemoteInvocationResult
RemoteInvocationBasedExporter. invokeAndCreateResult(RemoteInvocation invocation, Object targetObject)
Apply the given remote invocation to the given target object, wrapping the invocation result in a serializable RemoteInvocationResult object.