All Known Subinterfaces:
DirContext

public interface NamingContext
This interface represents a naming context, which consists of a set of name-to-object bindings.
Author:
Grizzly Team
See Also:
  • javax.naming.Context
  • Method Summary

    Modifier and Type
    Method
    Description
    lookup(String pathStr)
    Retrieves the named object.
  • Method Details

    • lookup

      Object lookup(String pathStr) throws NamingException
      Retrieves the named object. See lookup(Name) for details.
      Parameters:
      name - the name of the object to look up
      Returns:
      the object bound to name
      Throws:
      NamingException - if a naming exception is encountered