Module java.naming

Class NamingManager

java.lang.Object
javax.naming.spi.NamingManager
Direct Known Subclasses:
DirectoryManager

public class NamingManager extends Object
This class contains methods for creating context objects and objects referred to by location information in the naming or directory service.

This class cannot be instantiated. It has only static methods.

The mention of URL in the documentation for this class refers to a URL string as defined by RFC 1738 and its related RFCs. It is any string that conforms to the syntax described therein, and may not always have corresponding support in the java.net.URL class or Web browsers.

NamingManager is safe for concurrent access by multiple threads.

Except as otherwise noted, a Name or environment parameter passed to any method is owned by the caller. The implementation will not modify the object or keep a reference to it, although it may keep a reference to a clone or copy.

Since:
1.3
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Constant that holds the name of the environment property into which getContinuationContext() stores the value of its CannotProceedException parameter.
  • Method Summary

    Modifier and Type
    Method
    Description
    static Context
    Creates a context in which to continue a context operation.
    static Context
    Creates an initial context using the specified environment properties.
    static Object