org.springframework.remoting.rmi |
Remoting classes for conventional RMI and transparent remoting via
RMI invokers. Provides a proxy factory for accessing RMI services,
and an exporter for making beans available to RMI clients.
|
Java Source File Name | Type | Comment |
CodebaseAwareObjectInputStream.java | Class | Special ObjectInputStream subclass that falls back to a specified codebase
to load classes from if not found locally. |
JndiRmiClientInterceptor.java | Class | org.aopalliance.intercept.MethodInterceptor for accessing RMI services from JNDI.
Typically used for RMI-IIOP (CORBA), but can also be used for EJB home objects
(for example, a Stateful Session Bean home). |
JndiRmiProxyFactoryBean.java | Class | Factory bean for RMI proxies from JNDI.
Typically used for RMI-IIOP (CORBA), but can also be used for EJB home objects
(for example, a Stateful Session Bean home). |
JndiRmiServiceExporter.java | Class | Service exporter which binds RMI services to JNDI.
Typically used for RMI-IIOP (CORBA).
Exports services via the
javax.rmi.PortableRemoteObject class.
You need to run "rmic" with the "-iiop" option to generate corresponding
stubs and skeletons for each exported service.
Also supports exposing any non-RMI service via RMI invokers, to be accessed
via
JndiRmiClientInterceptor /
JndiRmiProxyFactoryBean 's
automatic detection of such invokers.
With an RMI invoker, RMI communication works on the
RmiInvocationHandler level, needing only one stub for any service. |
RmiBasedExporter.java | Class | Convenient superclass for RMI-based remote exporters. |
RmiClientInterceptor.java | Class | org.aopalliance.intercept.MethodInterceptor for accessing conventional
RMI services or RMI invokers. |
RmiClientInterceptorUtils.java | Class | Factored-out methods for performing invocations within an RMI client. |
RmiInvocationHandler.java | Interface | Interface for RMI invocation handlers instances on the server,
wrapping exported services. |
RmiInvocationWrapper.java | Class | Server-side implementation of
RmiInvocationHandler . |
RmiProxyFactoryBean.java | Class | FactoryBean for RMI proxies, supporting both conventional RMI services and
RMI invokers. |
RmiRegistryFactoryBean.java | Class | FactoryBean that locates a
java.rmi.registry.Registry and
exposes it for bean references. |
RmiServiceExporter.java | Class | RMI exporter that exposes the specified service as RMI object with the specified name.
Such services can be accessed via plain RMI or via
RmiProxyFactoryBean .
Also supports exposing any non-RMI service via RMI invokers, to be accessed via
RmiClientInterceptor /
RmiProxyFactoryBean 's automatic detection
of such invokers.
With an RMI invoker, RMI communication works on the
RmiInvocationHandler level, needing only one stub for any service. |