alt.java.rmi
Class NamingImpl

java.lang.Object
  extended byalt.java.rmi.NamingImpl
All Implemented Interfaces:
Naming

public class NamingImpl
extends java.lang.Object
implements Naming


Constructor Summary
NamingImpl()
           
 
Method Summary
 void bind(java.lang.String name, java.rmi.Remote obj)
           
 java.lang.String[] list(java.lang.String name)
           
 java.rmi.Remote lookup(java.lang.String name)
           
 void rebind(java.lang.String name, java.rmi.Remote obj)
           
 void unbind(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NamingImpl

public NamingImpl()
Method Detail

lookup

public java.rmi.Remote lookup(java.lang.String name)
                       throws java.rmi.NotBoundException,
                              java.net.MalformedURLException,
                              java.rmi.RemoteException
Specified by:
lookup in interface Naming
Throws:
java.rmi.NotBoundException
java.net.MalformedURLException
java.rmi.RemoteException

bind

public void bind(java.lang.String name,
                 java.rmi.Remote obj)
          throws java.rmi.AlreadyBoundException,
                 java.net.MalformedURLException,
                 java.rmi.RemoteException
Specified by:
bind in interface Naming
Throws:
java.rmi.AlreadyBoundException
java.net.MalformedURLException
java.rmi.RemoteException

unbind

public void unbind(java.lang.String name)
            throws java.rmi.RemoteException,
                   java.rmi.NotBoundException,
                   java.net.MalformedURLException
Specified by:
unbind in interface Naming
Throws:
java.rmi.RemoteException
java.rmi.NotBoundException
java.net.MalformedURLException

rebind

public void rebind(java.lang.String name,
                   java.rmi.Remote obj)
            throws java.rmi.RemoteException,
                   java.net.MalformedURLException
Specified by:
rebind in interface Naming
Throws:
java.rmi.RemoteException
java.net.MalformedURLException

list

public java.lang.String[] list(java.lang.String name)
                        throws java.rmi.RemoteException,
                               java.net.MalformedURLException
Specified by:
list in interface Naming
Throws:
java.rmi.RemoteException
java.net.MalformedURLException


Copyright © 2002 Mock Objects. All Rights Reserved.