jgroup.relacs.rmi
Class Exporter

java.lang.Object
  extended by jgroup.relacs.rmi.Exporter

public class Exporter
extends java.lang.Object


Constructor Summary
Exporter()
           
 
Method Summary
static java.rmi.Remote getProxy(java.lang.Class[] interfaces, java.lang.reflect.InvocationHandler handler)
          Returns a proxy object for set of specified interfaces, using the specified invocation handler.
static java.rmi.Remote getProxy(java.lang.Class serverClass, java.lang.reflect.InvocationHandler handler)
          Returns a proxy object for the specified server class, using the specified invocation handler.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Exporter

public Exporter()
Method Detail

getProxy

public static java.rmi.Remote getProxy(java.lang.Class serverClass,
                                       java.lang.reflect.InvocationHandler handler)
                                throws java.rmi.RemoteException
Returns a proxy object for the specified server class, using the specified invocation handler. If serverClass does not implement any external interface (i.e., an interface that extends jgroup.core.ExternalGMIListener), a RemoteException is thrown.

Throws:
java.rmi.RemoteException - Thrown if for some reason, it is impossible to instantiate a proxy class.

getProxy

public static java.rmi.Remote getProxy(java.lang.Class[] interfaces,
                                       java.lang.reflect.InvocationHandler handler)
                                throws java.rmi.RemoteException
Returns a proxy object for set of specified interfaces, using the specified invocation handler.

Throws:
java.rmi.RemoteException - Thrown if for some reason, it is impossible to instantiate a proxy class.


Copyright © 1998-2006 The Jgroup/ARM development team. All Rights Reserved.