java.lang.Object | ||||
↳ | org.springframework.remoting.support.RemotingSupport | |||
↳ | org.springframework.remoting.support.RemoteExporter | |||
↳ | org.springframework.remoting.support.RemoteInvocationBasedExporter | |||
↳ | org.springframework.remoting.rmi.RmiBasedExporter |
Known Direct Subclasses |
Convenient superclass for RMI-based remote exporters. Provides a facility
to automatically wrap a given plain Java service object with an
RmiInvocationWrapper, exposing the RmiInvocationHandler
remote interface.
Using the RMI invoker mechanism, RMI communication operates at the RmiInvocationHandler
level, sharing a common invoker stub for any number of services. Service interfaces are not
required to extend java.rmi.Remote
or declare java.rmi.RemoteException
on all service methods. However, in and out parameters still have to be serializable.
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.springframework.remoting.support.RemotingSupport
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Determine the object to export: either the service object itself
or a RmiInvocationWrapper in case of a non-RMI service object.
| |||||||||||
Redefined here to be visible to RmiInvocationWrapper.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.springframework.remoting.support.RemoteInvocationBasedExporter
| |||||||||||
From class
org.springframework.remoting.support.RemoteExporter
| |||||||||||
From class
org.springframework.remoting.support.RemotingSupport
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
org.springframework.beans.factory.BeanClassLoaderAware
|
Determine the object to export: either the service object itself or a RmiInvocationWrapper in case of a non-RMI service object.
Redefined here to be visible to RmiInvocationWrapper. Simply delegates to the corresponding superclass method.
invocation | the remote invocation |
---|---|
targetObject | the target object to apply the invocation to |