org.objectweb.carol.cmi
Class Naming
java.lang.Object
org.objectweb.carol.cmi.Naming
- public final class Naming
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getRegistry
public static ClusterRegistry getRegistry(NamingContextHostPort[] hp)
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
getLocalRegistry
public static ClusterRegistry getLocalRegistry(NamingContextHostPort[] hp)
throws java.net.MalformedURLException,
java.rmi.RemoteException
- Throws:
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
- Throws:
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
- Throws:
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
- Throws:
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
- Throws:
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
- Throws:
java.net.MalformedURLException
java.rmi.RemoteException