Context Implementation

A context implementation class implements the Context interface and is responsible for handling almost all requests.

The user program accesses a context implementation in two ways:

  1. Indirectly via method invocation on the InitialContext class

  2. Directly via method invocation on Context instances, obtained by calls such as Context.lookup()

A context implementation must provide a definition for each method in the Context interface.

These methods can be categorized as follows:

  1. Lookup
  2. List (Enumeration)
  3. Update
  4. Name parser
  5. More...

See also: miscellaneous tips