Package com.sun.enterprise.naming.impl
Interface SerialContextProvider
- All Superinterfaces:
Remote
- All Known Implementing Classes:
LocalSerialContextProviderImpl,RemoteSerialContextProviderImpl,SerialContextProviderImpl
-
Method Summary
Modifier and TypeMethodDescriptionvoidBind the object to the specified name.createSubcontext(String name) Create a subcontext with the specified name.voiddestroySubcontext(String name) Destroy the subcontext with the specified name.list()List the contents of the specified context.Lookup the specified name.voidRebind the object to the specified name.voidRename the bound object.voidUnbind the specified object.
-
Method Details
-
lookup
Lookup the specified name.- Returns:
- the object or context bound to the name.
- Throws:
NamingException- if there is a naming exception.RemoteException- there is an RMI exception.
-
bind
Bind the object to the specified name.- Throws:
NamingException- if there is a naming exception.RemoteException- there is an RMI exception.
-
rebind
Rebind the object to the specified name.- Throws:
NamingException- if there is a naming exception.RemoteException- there is an RMI exception.
-
unbind
Unbind the specified object.- Throws:
NamingException- if there is a naming exception.RemoteException- there is an RMI exception.
-
rename
Rename the bound object.- Throws:
NamingException- if there is a naming exception.RemoteException- there is an RMI exception.
-
list
- Throws:
RemoteException
-
list
List the contents of the specified context.- Throws:
NamingException- if there is a naming exception.RemoteException- there is an RMI exception.
-
createSubcontext
Create a subcontext with the specified name.- Returns:
- the created subcontext.
- Throws:
NamingException- if there is a naming exception.RemoteException- there is an RMI exception.
-
destroySubcontext
Destroy the subcontext with the specified name.- Throws:
NamingException- if there is a naming exception.RemoteException- there is an RMI exception.
-