JavaTM 2 Platform
Standard Ed. 5.0


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.


     NVList props = myContext.get_values("_USER",
                     CTX_RESTRICT_SCOPE.value, "id*");

See Also:
Context.get_values(String, int, String)

Field Summary
static int value
          The field containing the int value of a CTX_RESTRICT_SCOPE flag.

Field Detail


static final int value
The field containing the int value of a CTX_RESTRICT_SCOPE flag.

See Also:
Constant Field Values

JavaTM 2 Platform
Standard Ed. 5.0

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.