spring-framework / org.springframework.remoting.support

Package org.springframework.remoting.support

Types

DefaultRemoteInvocationExecutor

open class DefaultRemoteInvocationExecutor : RemoteInvocationExecutor

Default implementation of the RemoteInvocationExecutor interface. Simply delegates to RemoteInvocation's invoke method.

DefaultRemoteInvocationFactory

open class DefaultRemoteInvocationFactory : RemoteInvocationFactory

Default implementation of the RemoteInvocationFactory interface. Simply creates a new standard RemoteInvocation object.

RemoteInvocationBasedAccessor

abstract class RemoteInvocationBasedAccessor : UrlBasedRemoteAccessor

Abstract base class for remote service accessors that are based on serialization of RemoteInvocation objects. Provides a "remoteInvocationFactory" property, with a DefaultRemoteInvocationFactory as default strategy.

RemoteInvocationExecutor

interface RemoteInvocationExecutor

Strategy interface for executing a RemoteInvocation on a target object.

Used by org.springframework.remoting.rmi.RmiServiceExporter (for RMI invokers) and by org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter.

RemoteInvocationTraceInterceptor

open class RemoteInvocationTraceInterceptor : MethodInterceptor

AOP Alliance MethodInterceptor for tracing remote invocations. Automatically applied by RemoteExporter and its subclasses.

Logs an incoming remote call as well as the finished processing of a remote call at DEBUG level. If the processing of a remote call results in a checked exception, the exception will get logged at INFO level; if it results in an unchecked exception (or error), the exception will get logged at WARN level.

The logging of exceptions is particularly useful to save the stacktrace information on the server-side rather than just propagating the exception to the client (who might or might not log it properly).

RemoteInvocationUtils

abstract class RemoteInvocationUtils

General utilities for handling remote invocations.

Mainly intended for use within the remoting framework.

SimpleHttpServerFactoryBean

open class SimpleHttpServerFactoryBean : FactoryBean<HttpServer>, InitializingBean, DisposableBean

org.springframework.beans.factory.FactoryBean that creates a simple HTTP server, based on the HTTP server that is included in Sun's JRE 1.6. Starts the HTTP server on initialization and stops it on destruction. Exposes the resulting com.sun.net.httpserver.HttpServer object.

Allows for registering com.sun.net.httpserver.HttpHandler for specific context paths. Alternatively, register such context-specific handlers programmatically on the com.sun.net.httpserver.HttpServer itself.