W3cubDocs

/OpenJDK 8 Web

Interface CTX_RESTRICT_SCOPE

public interface CTX_RESTRICT_SCOPE

A flag that can be used as the second parameter to the method Context.get_values to restrict the search scope. When this flag is used, it restricts the search for context values to this particular Context object or to the scope specified in the first parameter to Context.get_values.

Usage:

NVList props = myContext.get_values("_USER",
                     CTX_RESTRICT_SCOPE.value, "id*");
Since:
JDK1.2
See Also:
Context.get_values(String, int, String)

Fields

value

static final int value

The field containing the int value of a CTX_RESTRICT_SCOPE flag.

© 1993–2017, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.