org.objectweb.carol.cmi
Class Naming

java.lang.Object
  |
  +--org.objectweb.carol.cmi.Naming

public final class Naming
extends java.lang.Object


Method Summary
static void bind(java.lang.String name, java.rmi.Remote obj)
           
static ClusterRegistry getLocalRegistry(NamingContextHostPort[] hp)
           
static ClusterRegistry getRegistry(NamingContextHostPort[] hp)
           
static ClusterRegistry getRegistry(java.lang.String host, int port)
           
static java.lang.String[] list(java.lang.String name)
           
static java.lang.Object lookup(java.lang.String name)
           
static void rebind(java.lang.String name, java.rmi.Remote obj)
           
static void unbind(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getRegistry

public static ClusterRegistry getRegistry(java.lang.String host,
                                          int port)
                                   throws java.rmi.RemoteException
java.rmi.RemoteException

getRegistry

public static ClusterRegistry getRegistry(NamingContextHostPort[] hp)
                                   throws java.rmi.RemoteException
java.rmi.RemoteException

getLocalRegistry

public static ClusterRegistry getLocalRegistry(NamingContextHostPort[] hp)
                                        throws java.net.MalformedURLException,
                                               java.rmi.RemoteException
java.net.MalformedURLException
java.rmi.RemoteException

lookup

public static java.lang.Object lookup(java.lang.String name)
                               throws java.net.MalformedURLException,
                                      java.rmi.NotBoundException,
                                      java.rmi.RemoteException
java.net.MalformedURLException
java.rmi.NotBoundException
java.rmi.RemoteException

bind

public static void bind(java.lang.String name,
                        java.rmi.Remote obj)
                 throws java.net.MalformedURLException,
                        java.rmi.AlreadyBoundException,
                        java.rmi.RemoteException
java.net.MalformedURLException
java.rmi.AlreadyBoundException
java.rmi.RemoteException

rebind

public static void rebind(java.lang.String name,
                          java.rmi.Remote obj)
                   throws java.net.MalformedURLException,
                          java.rmi.RemoteException
java.net.MalformedURLException
java.rmi.RemoteException

unbind

public static void unbind(java.lang.String name)
                   throws java.net.MalformedURLException,
                          java.rmi.NotBoundException,
                          java.rmi.RemoteException
java.net.MalformedURLException
java.rmi.NotBoundException
java.rmi.RemoteException

list

public static java.lang.String[] list(java.lang.String name)
                               throws java.net.MalformedURLException,
                                      java.rmi.RemoteException
java.net.MalformedURLException
java.rmi.RemoteException