1. /*
  2. * @(#)CTX_RESTRICT_SCOPE.java 1.10 00/02/02
  3. *
  4. * Copyright 1997-2000 Sun Microsystems, Inc. All Rights Reserved.
  5. *
  6. * This software is the proprietary information of Sun Microsystems, Inc.
  7. * Use is subject to license terms.
  8. *
  9. */
  10. package org.omg.CORBA;
  11. /**
  12. * A flag that can be used as the second parameter to the method
  13. * <code>Context.get_values</code> to restrict the search scope.
  14. * When this flag is used, it restricts the search for
  15. * context values to this particular <code>Context</code> object
  16. * or to the scope specified in the first parameter to
  17. * <code>Context.get_values</code>.
  18. * <P>
  19. * Usage:
  20. * <PRE>
  21. * NVList props = myContext.get_values("_USER",
  22. * CTX_RESTRICT_SCOPE.value, "id*");
  23. * </PRE>
  24. *
  25. * @see org.omg.CORBA.Context#get_values(String, int, String)
  26. * @version 1.3, 09/09/97
  27. * @since JDK1.2
  28. */
  29. public interface CTX_RESTRICT_SCOPE {
  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. }