1 23 package com.sun.enterprise.naming; 24 25 import java.util.*; 26 import java.io.*; 27 import javax.naming.*; 28 import javax.rmi.PortableRemoteObject ; 29 import java.rmi.*; 30 31 public interface SerialContextProvider extends Remote { 32 33 39 public Object lookup(String name) 40 throws NamingException, RemoteException; 41 42 47 public void bind(String name, Object obj) 48 throws NamingException, RemoteException; 49 50 55 public void rebind(String name, Object obj) 56 throws NamingException, RemoteException; 57 58 63 public void unbind(String name) 64 throws NamingException, RemoteException; 65 66 71 public void rename(String oldname, String newname) 72 throws NamingException, RemoteException; 73 74 public Hashtable list() throws RemoteException; 75 76 81 public Hashtable list(String name) throws NamingException, RemoteException; 82 83 89 public Context createSubcontext (String name) 90 throws NamingException, RemoteException; 91 92 97 public void destroySubcontext (String name) 98 throws NamingException, RemoteException; 99 } 100 101 102 | Popular Tags |