1 22 package org.jnp.interfaces; 23 24 import java.rmi.Remote ; 25 import java.rmi.RemoteException ; 26 import java.util.Collection ; 27 28 29 import javax.naming.Context ; 30 import javax.naming.Name ; 31 import javax.naming.NamingException ; 32 33 40 public interface Naming 41 extends Remote 42 { 43 public void bind(Name name, Object obj, String className) 45 throws NamingException , RemoteException ; 46 47 public void rebind(Name name, Object obj, String className) 48 throws NamingException , RemoteException ; 49 50 public void unbind(Name name) 51 throws NamingException , RemoteException ; 52 53 public Object lookup(Name name) 54 throws NamingException , RemoteException ; 55 56 public Collection list(Name name) 57 throws NamingException , RemoteException ; 58 59 public Collection listBindings(Name name) 60 throws NamingException , RemoteException ; 61 62 public Context createSubcontext(Name name) 63 throws NamingException , RemoteException ; 64 } 65 | Popular Tags |