May 2001
Intermediate to advanced
1088 pages
30h 13m
English
The Context interface represents a set of names in a naming or directory service. The context might represent the entire set of names known to the service or just a subset of names.
addToEnvironment
public Object addToEnvironment(String propName, Object propValue)
throws NamingException
Adds a new property value to this context's current environment. If the property already exists, the old value is replaced with the new value. The method returns the old value of the property, or null if the property had no previous value.
bind public void bind(Name name, Object ob) throws NamingException public void bind(String name, Object ob) throws NamingException
Associates a name with an object in the current naming context. If the ...
Read now
Unlock full access