KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > omg > CORBA > CTX_RESTRICT_SCOPE


1 /*
2  * @(#)CTX_RESTRICT_SCOPE.java 1.14 03/12/19
3  *
4  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7
8 package org.omg.CORBA;
9
10 /**
11  * A flag that can be used as the second parameter to the method
12  * <code>Context.get_values</code> to restrict the search scope.
13  * When this flag is used, it restricts the search for
14  * context values to this particular <code>Context</code> object
15  * or to the scope specified in the first parameter to
16  * <code>Context.get_values</code>.
17  * <P>
18  * Usage:
19  * <PRE>
20  * NVList props = myContext.get_values("_USER",
21  * CTX_RESTRICT_SCOPE.value, "id*");
22  * </PRE>
23  *
24  * @see org.omg.CORBA.Context#get_values(String, int, String)
25  * @version 1.3, 09/09/97
26  * @since JDK1.2
27  */

28 public interface CTX_RESTRICT_SCOPE {
29
30 /**
31  * The field containing the <code>int</code> value of a
32  * <code>CTX_RESTRICT_SCOPE</code> flag.
33  */

34   int value = 15;
35 }
36
37
Popular Tags