public class SerialContextProviderImpl extends Object implements SerialContextProvider
| Modifier | Constructor and Description |
|---|---|
protected |
SerialContextProviderImpl(TransientContext rootContext) |
| 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.
|
protected SerialContextProviderImpl(TransientContext rootContext) throws RemoteException
RemoteExceptionpublic Object lookup(String name) throws NamingException, RemoteException
lookup in interface SerialContextProviderNamingException - if there is a naming exception.if - there is an RMI exception.RemoteExceptionpublic void bind(String name, Object obj) throws NamingException, RemoteException
bind in interface SerialContextProviderNamingException - if there is a naming exception.if - there is an RMI exception.RemoteExceptionpublic void rebind(String name, Object obj) throws NamingException, RemoteException
rebind in interface SerialContextProviderNamingException - if there is a naming exception.if - there is an RMI exception.RemoteExceptionpublic void unbind(String name) throws NamingException, RemoteException
unbind in interface SerialContextProviderNamingException - if there is a naming exception.if - there is an RMI exception.RemoteExceptionpublic void rename(String oldname, String newname) throws NamingException, RemoteException
rename in interface SerialContextProviderNamingException - if there is a naming exception.if - there is an RMI exception.RemoteExceptionpublic Hashtable list() throws RemoteException
list in interface SerialContextProviderRemoteExceptionpublic Hashtable list(String name) throws NamingException, RemoteException
list in interface SerialContextProviderNamingException - if there is a naming exception.if - there is an RMI exception.RemoteExceptionpublic Context createSubcontext(String name) throws NamingException, RemoteException
createSubcontext in interface SerialContextProviderNamingException - if there is a naming exception.if - there is an RMI exception.RemoteExceptionpublic void destroySubcontext(String name) throws NamingException, RemoteException
destroySubcontext in interface SerialContextProviderNamingException - if there is a naming exception.if - there is an RMI exception.RemoteExceptionCopyright © 2017–2020 Eclipse Foundation. All rights reserved.