Save This Page
Home » spring-framework-2.5.6-with-dependencies » org.springframework » remoting » rmi » [javadoc | source]
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) 
    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
Method from org.springframework.remoting.rmi.RmiInvocationWrapper Summary:
getTargetInterfaceName,   invoke
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.springframework.remoting.rmi.RmiInvocationWrapper Detail:
 public String getTargetInterfaceName() 
    Exposes the exporter's service interface, if any, as target interface.
 public Object invoke(RemoteInvocation invocation) throws InvocationTargetException, NoSuchMethodException, IllegalAccessException, RemoteException 
    Delegates the actual invocation handling to the RMI exporter.