org.springframework.remoting.rmi
class: RmiInvocationWrapper [javadoc |
source]
java.lang.Object
org.springframework.remoting.rmi.RmiInvocationWrapper
All Implemented Interfaces:
RmiInvocationHandler
Server-side implementation of
RmiInvocationHandler . An instance
of this class exists for each remote object. Automatically created
by
RmiServiceExporter for non-RMI service implementations.
This is an SPI class, not to be used directly by applications.
| Constructor: |
public RmiInvocationWrapper(Object wrappedObject,
RmiBasedExporter rmiExporter) {
Assert.notNull(wrappedObject, "Object to wrap is required");
Assert.notNull(rmiExporter, "RMI exporter is required");
this.wrappedObject = wrappedObject;
this.rmiExporter = rmiExporter;
}
Create a new RmiInvocationWrapper for the given object Parameters:
wrappedObject - the object to wrap with an RmiInvocationHandler
rmiExporter - the RMI exporter to handle the actual invocation
|