FileDocCategorySizeDatePackage
SerialContextProvider.javaAPI DocGlassfish v2 API4447Fri May 04 22:35:08 BST 2007com.sun.enterprise.naming

SerialContextProvider

public interface SerialContextProvider implements Remote

Fields Summary
Constructors Summary
Methods Summary
public voidbind(java.lang.String name, java.lang.Object obj)
Bind the object to the specified name.

exception
NamingException if there is a naming exception.
exception
if there is an RMI exception.

public javax.naming.ContextcreateSubcontext(java.lang.String name)
Create a subcontext with the specified name.

return
the created subcontext.
exception
NamingException if there is a naming exception.
exception
if there is an RMI exception.

public voiddestroySubcontext(java.lang.String name)
Destroy the subcontext with the specified name.

exception
NamingException if there is a naming exception.
exception
if there is an RMI exception.

public java.util.Hashtablelist()

public java.util.Hashtablelist(java.lang.String name)
List the contents of the specified context.

exception
NamingException if there is a naming exception.
exception
if there is an RMI exception.

public java.lang.Objectlookup(java.lang.String name)
Lookup the specified name.

return
the object or context bound to the name.
exception
NamingException if there is a naming exception.
exception
if there is an RMI exception.

public voidrebind(java.lang.String name, java.lang.Object obj)
Rebind the object to the specified name.

exception
NamingException if there is a naming exception.
exception
if there is an RMI exception.

public voidrename(java.lang.String oldname, java.lang.String newname)
Rename the bound object.

exception
NamingException if there is a naming exception.
exception
if there is an RMI exception.

public voidunbind(java.lang.String name)
Unbind the specified object.

exception
NamingException if there is a naming exception.
exception
if there is an RMI exception.