org.objectweb.carol.cmi

Class Naming


public final class Naming
extends java.lang.Object

Method Summary

static void
bind(String name, Remote obj)
static ClusterRegistry
getLocalRegistry(NamingContextHostPort hp)
static ClusterRegistry
getRegistry(NamingContextHostPort hp)
static String[]
list(String name)
static Object
lookup(String name)
static void
rebind(String name, Remote obj)
static void
unbind(String name)

Method Details

bind

public static void bind(String name,
                        Remote obj)
            throws MalformedURLException,
                   AlreadyBoundException,
                   RemoteException


getLocalRegistry

public static ClusterRegistry getLocalRegistry(NamingContextHostPort hp)
            throws MalformedURLException,
                   RemoteException


getRegistry

public static ClusterRegistry getRegistry(NamingContextHostPort hp)
            throws RemoteException


list

public static String[] list(String name)
            throws MalformedURLException,
                   RemoteException


lookup

public static Object lookup(String name)
            throws MalformedURLException,
                   NotBoundException,
                   RemoteException


rebind

public static void rebind(String name,
                          Remote obj)
            throws MalformedURLException,
                   RemoteException


unbind

public static void unbind(String name)
            throws MalformedURLException,
                   NotBoundException,
                   RemoteException