Package com.sun.enterprise.naming.impl
Class SerialContextProviderImpl
java.lang.Object
com.sun.enterprise.naming.impl.SerialContextProviderImpl
- All Implemented Interfaces:
SerialContextProvider,Remote
- Direct Known Subclasses:
LocalSerialContextProviderImpl,RemoteSerialContextProviderImpl
-
Constructor Summary
Constructors -
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.
-
Constructor Details
-
SerialContextProviderImpl
- Throws:
RemoteException
-
-
Method Details
-
lookup
Description copied from interface:SerialContextProviderLookup the specified name.- Specified by:
lookupin interfaceSerialContextProvider- Returns:
- the object or context bound to the name.
- Throws:
NamingException- if there is a naming exception.RemoteException- there is an RMI exception.
-
bind
Description copied from interface:SerialContextProviderBind the object to the specified name.- Specified by:
bindin interfaceSerialContextProvider- Throws:
NamingException- if there is a naming exception.RemoteException- there is an RMI exception.
-
rebind
Description copied from interface:SerialContextProviderRebind the object to the specified name.- Specified by:
rebindin interfaceSerialContextProvider- Throws:
NamingException- if there is a naming exception.RemoteException- there is an RMI exception.
-
unbind
Description copied from interface:SerialContextProviderUnbind the specified object.- Specified by:
unbindin interfaceSerialContextProvider- Throws:
NamingException- if there is a naming exception.RemoteException- there is an RMI exception.
-
rename
Description copied from interface:SerialContextProviderRename the bound object.- Specified by:
renamein interfaceSerialContextProvider- Throws:
NamingException- if there is a naming exception.RemoteException- there is an RMI exception.
-
list
- Specified by:
listin interfaceSerialContextProvider- Throws:
RemoteException
-
list
Description copied from interface:SerialContextProviderList the contents of the specified context.- Specified by:
listin interfaceSerialContextProvider- Throws:
NamingException- if there is a naming exception.RemoteException- there is an RMI exception.
-
createSubcontext
Description copied from interface:SerialContextProviderCreate a subcontext with the specified name.- Specified by:
createSubcontextin interfaceSerialContextProvider- Returns:
- the created subcontext.
- Throws:
NamingException- if there is a naming exception.RemoteException- there is an RMI exception.
-
destroySubcontext
Description copied from interface:SerialContextProviderDestroy the subcontext with the specified name.- Specified by:
destroySubcontextin interfaceSerialContextProvider- Throws:
NamingException- if there is a naming exception.RemoteException- there is an RMI exception.
-