public interface SerialContextProvider extends Remote
Modifier and Type | Method and Description |
---|---|
void |
bind(String name,
Object obj)
Bind the object to the specified name.
|
Context |
createSubcontext(String name)
Create a subcontext with the specified name.
|
void |
destroySubcontext(String name)
Destroy the subcontext with the specified name.
|
Hashtable |
list() |
Hashtable |
list(String name)
List the contents of the specified context.
|
Object |
lookup(String name)
Lookup the specified name.
|
void |
rebind(String name,
Object obj)
Rebind the object to the specified name.
|
void |
rename(String oldname,
String newname)
Rename the bound object.
|
void |
unbind(String name)
Unbind the specified object.
|
Object lookup(String name) throws NamingException, RemoteException
NamingException
- if there is a naming exception.RemoteException
- if there is an RMI exception.void bind(String name, Object obj) throws NamingException, RemoteException
NamingException
- if there is a naming exception.RemoteException
- if there is an RMI exception.void rebind(String name, Object obj) throws NamingException, RemoteException
NamingException
- if there is a naming exception.RemoteException
- if there is an RMI exception.void unbind(String name) throws NamingException, RemoteException
NamingException
- if there is a naming exception.RemoteException
- if there is an RMI exception.void rename(String oldname, String newname) throws NamingException, RemoteException
NamingException
- if there is a naming exception.RemoteException
- if there is an RMI exception.Hashtable list() throws RemoteException
RemoteException
Hashtable list(String name) throws NamingException, RemoteException
NamingException
- if there is a naming exception.RemoteException
- if there is an RMI exception.Context createSubcontext(String name) throws NamingException, RemoteException
NamingException
- if there is a naming exception.RemoteException
- if there is an RMI exception.void destroySubcontext(String name) throws NamingException, RemoteException
NamingException
- if there is a naming exception.RemoteException
- if there is an RMI exception.Copyright © 2018. All rights reserved.