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