Package | Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.extractInvocationResult(Message responseMessage)
Extract the invocation result from the response message.
|
protected RemoteInvocationResult |
JmsInvokerClientInterceptor.onInvalidResponse(Message responseMessage)
Callback that is invoked by
JmsInvokerClientInterceptor.extractInvocationResult(javax.jms.Message) when
it encounters an invalid response message. |
protected RemoteInvocationResult |
JmsInvokerClientInterceptor.onReceiveTimeout(RemoteInvocation invocation)
Callback that is invoked by
JmsInvokerClientInterceptor.executeRequest(org.springframework.remoting.support.RemoteInvocation) when the receive
timeout has expired for the specified RemoteInvocation . |
Modifier and Type | Method and Description |
---|---|
protected Message |
JmsInvokerServiceExporter.createResponseMessage(Message request,
Session session,
RemoteInvocationResult result)
Create the invocation result response message.
|
protected Object |
JmsInvokerClientInterceptor.recreateRemoteInvocationResult(RemoteInvocationResult result)
Recreate the invocation result contained in the given
RemoteInvocationResult
object. |
protected void |
JmsInvokerServiceExporter.writeRemoteInvocationResult(Message requestMessage,
Session session,
RemoteInvocationResult result)
Send the given RemoteInvocationResult as a JMS message to the originator.
|
Modifier and Type | Method and Description |
---|---|
protected RemoteInvocationResult |
HttpComponentsHttpInvokerRequestExecutor.doExecuteRequest(HttpInvokerClientConfiguration config,
ByteArrayOutputStream baos)
Execute the given request through the HttpClient.
|
protected abstract RemoteInvocationResult |
AbstractHttpInvokerRequestExecutor.doExecuteRequest(HttpInvokerClientConfiguration config,
ByteArrayOutputStream baos)
Execute a request to send the given serialized remote invocation.
|
protected RemoteInvocationResult |
SimpleHttpInvokerRequestExecutor.doExecuteRequest(HttpInvokerClientConfiguration config,
ByteArrayOutputStream baos)
Execute the given request through a standard
HttpURLConnection . |
protected RemoteInvocationResult |
AbstractHttpInvokerRequestExecutor.doReadRemoteInvocationResult(ObjectInputStream ois)
Perform the actual reading of an invocation object from the
given ObjectInputStream.
|
RemoteInvocationResult |
HttpInvokerRequestExecutor.executeRequest(HttpInvokerClientConfiguration config,
RemoteInvocation invocation)
Execute a request to send the given remote invocation.
|
RemoteInvocationResult |
AbstractHttpInvokerRequestExecutor.executeRequest(HttpInvokerClientConfiguration config,
RemoteInvocation invocation) |
protected RemoteInvocationResult |
HttpInvokerClientInterceptor.executeRequest(RemoteInvocation invocation)
Execute the given remote invocation via the
HttpInvokerRequestExecutor . |
protected RemoteInvocationResult |
HttpInvokerClientInterceptor.executeRequest(RemoteInvocation invocation,
MethodInvocation originalInvocation)
Execute the given remote invocation via the
HttpInvokerRequestExecutor . |
protected RemoteInvocationResult |
AbstractHttpInvokerRequestExecutor.readRemoteInvocationResult(InputStream is,
String codebaseUrl)
Deserialize a RemoteInvocationResult object from the given InputStream.
|
Modifier and Type | Method and Description |
---|---|
protected void |
SimpleHttpInvokerServiceExporter.writeRemoteInvocationResult(com.sun.net.httpserver.HttpExchange exchange,
RemoteInvocationResult result)
Write the given RemoteInvocationResult to the given HTTP response.
|
protected void |
SimpleHttpInvokerServiceExporter.writeRemoteInvocationResult(com.sun.net.httpserver.HttpExchange exchange,
RemoteInvocationResult result,
OutputStream os)
Serialize the given RemoteInvocation to the given OutputStream.
|
protected void |
HttpInvokerServiceExporter.writeRemoteInvocationResult(HttpServletRequest request,
HttpServletResponse response,
RemoteInvocationResult result)
Write the given RemoteInvocationResult to the given HTTP response.
|
protected void |
HttpInvokerServiceExporter.writeRemoteInvocationResult(HttpServletRequest request,
HttpServletResponse response,
RemoteInvocationResult result,
OutputStream os)
Serialize the given RemoteInvocation to the given OutputStream.
|
Modifier and Type | Method and Description |
---|---|
protected void |
RemoteInvocationSerializingExporter.doWriteRemoteInvocationResult(RemoteInvocationResult result,
ObjectOutputStream oos)
Perform the actual writing of the given invocation result object
to the given ObjectOutputStream.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
protected Object |
RemoteInvocationBasedAccessor.recreateRemoteInvocationResult(RemoteInvocationResult result)
Recreate the invocation result contained in the given RemoteInvocationResult object.
|