Name

CTX_RESTRICT_SCOPE

Synopsis

This abstract interface contains a static value member that can be used as a flag to the search routine accessible through the Context.get_values() method. Using CTX_RESTRICT_SCOPE.value as the flag to this method indicates that the search for context values should be restricted to the scope specified in the first method argument, or to the context object used to invoke the method, if the scope is null. For example, this call to the search method:

Context ctx = . . . // get context somehow
NVList myVals = ctx.get_values(null, 
   org.omg.CORBA.CTX_RESTRICT_SCOPE.value, "username");

searches the context represented by the context object for values named “username”.

public interface CTX_RESTRICT_SCOPE {
// Public Constants
   public static final int value;                                // =15
}

Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.