Package alt.java.rmi

Class NamingImpl

  • All Implemented Interfaces:
    Naming

    public class NamingImpl
    extends java.lang.Object
    implements Naming
    • Constructor Summary

      Constructors 
      Constructor Description
      NamingImpl()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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