addNamingContext
public void addNamingContext(NamingContextInfo ncInfo)
throws NamingException
bind
public void bind(CompositeName path,
Object obj)
throws NamingException
Binds an object to the specified path.
path
- the path of the objectobj
- the object to bind
bind
public void bind(NamingContext nc,
String lastName,
Object obj,
Object ownerId)
throws NamingException
changeOwner
public void changeOwner(Object formerOwnerId)
throws NamingException
copyNamingContexts
public NamingContextInfo[] copyNamingContexts(Object serverId)
throws NamingException
Returns copies of the naming contexts owned by the server
which identifier is specified.
serverId
- the identifier of the server that owns
the naming contexts to get.
createSubcontext
public void createSubcontext(CompositeName path)
throws NamingException
createSubcontext
public void createSubcontext(CompositeName path,
Object subcontextOwnerId)
throws NamingException
Create a subcontext.
path
- the path of the subcontext
destroySubcontext
public void destroySubcontext(CompositeName path)
throws NamingException
Destroy a subcontext. This operation is
idempotent: does nothing if the final name of
the path is not found.
path
- the path of the subcontext
destroySubcontext
public boolean destroySubcontext(NamingContext parentNc,
String lastName,
CompositeName path,
Object ownerId)
throws NamingException
initialize
public void initialize()
throws Exception
list
public NameClassPair[] list(CompositeName path)
throws NamingException
listBindings
public Binding[] listBindings(CompositeName path)
throws NamingException
lookup
public Record lookup(CompositeName path)
throws NamingException
Looks up the specified path.
path
- the path to look up
null
if the bound object is a context.
readBag
public void readBag(ObjectInputStream in)
throws IOException,
ClassNotFoundException
rebind
public void rebind(CompositeName path,
Object obj)
throws NamingException
Rebinds an object to the specified path.
path
- the path of the objectobj
- the object to rebind
rebind
public void rebind(NamingContext nc,
String lastName,
Object obj,
Object ownerId)
throws NamingException
resetNamingContext
public void resetNamingContext(NamingContext context)
throws NamingException
setUpdateListener
public void setUpdateListener(UpdateListener updateListener)
unbind
public void unbind(CompositeName path)
throws NamingException
Unbinds the specified path. This operation is
idempotent: does nothing if the final name of
the path is not found.
path
- the path to unbind
unbind
public boolean unbind(NamingContext nc,
String lastName,
Object ownerId)
throws NamingException
writeBag
public void writeBag(ObjectOutputStream out)
throws IOException