corba/src/java.corba/share/classes/org/omg/CORBA/Context.java
author chegar
Mon, 18 Aug 2014 10:07:13 +0100
changeset 26048 c6cdd019b5cb
parent 25862 a5e25d68f971
permissions -rw-r--r--
Merge
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
4
02bb8761fcce Initial load
duke
parents:
diff changeset
     1
/*
5555
b2b5ed3f0d0d 6943119: Rebrand source copyright notices
ohair
parents: 4
diff changeset
     2
 * Copyright (c) 1996, 2000, Oracle and/or its affiliates. All rights reserved.
4
02bb8761fcce Initial load
duke
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
02bb8761fcce Initial load
duke
parents:
diff changeset
     4
 *
02bb8761fcce Initial load
duke
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
02bb8761fcce Initial load
duke
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
5555
b2b5ed3f0d0d 6943119: Rebrand source copyright notices
ohair
parents: 4
diff changeset
     7
 * published by the Free Software Foundation.  Oracle designates this
4
02bb8761fcce Initial load
duke
parents:
diff changeset
     8
 * particular file as subject to the "Classpath" exception as provided
5555
b2b5ed3f0d0d 6943119: Rebrand source copyright notices
ohair
parents: 4
diff changeset
     9
 * by Oracle in the LICENSE file that accompanied this code.
4
02bb8761fcce Initial load
duke
parents:
diff changeset
    10
 *
02bb8761fcce Initial load
duke
parents:
diff changeset
    11
 * This code is distributed in the hope that it will be useful, but WITHOUT
02bb8761fcce Initial load
duke
parents:
diff changeset
    12
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
02bb8761fcce Initial load
duke
parents:
diff changeset
    13
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
02bb8761fcce Initial load
duke
parents:
diff changeset
    14
 * version 2 for more details (a copy is included in the LICENSE file that
02bb8761fcce Initial load
duke
parents:
diff changeset
    15
 * accompanied this code).
02bb8761fcce Initial load
duke
parents:
diff changeset
    16
 *
02bb8761fcce Initial load
duke
parents:
diff changeset
    17
 * You should have received a copy of the GNU General Public License version
02bb8761fcce Initial load
duke
parents:
diff changeset
    18
 * 2 along with this work; if not, write to the Free Software Foundation,
02bb8761fcce Initial load
duke
parents:
diff changeset
    19
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
02bb8761fcce Initial load
duke
parents:
diff changeset
    20
 *
5555
b2b5ed3f0d0d 6943119: Rebrand source copyright notices
ohair
parents: 4
diff changeset
    21
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
b2b5ed3f0d0d 6943119: Rebrand source copyright notices
ohair
parents: 4
diff changeset
    22
 * or visit www.oracle.com if you need additional information or have any
b2b5ed3f0d0d 6943119: Rebrand source copyright notices
ohair
parents: 4
diff changeset
    23
 * questions.
4
02bb8761fcce Initial load
duke
parents:
diff changeset
    24
 */
02bb8761fcce Initial load
duke
parents:
diff changeset
    25
02bb8761fcce Initial load
duke
parents:
diff changeset
    26
package org.omg.CORBA;
02bb8761fcce Initial load
duke
parents:
diff changeset
    27
02bb8761fcce Initial load
duke
parents:
diff changeset
    28
/**
02bb8761fcce Initial load
duke
parents:
diff changeset
    29
 * An object used in <code>Request</code> operations
02bb8761fcce Initial load
duke
parents:
diff changeset
    30
 * to specify the context object in which context strings
02bb8761fcce Initial load
duke
parents:
diff changeset
    31
 * must be resolved before being sent along with the request invocation.
02bb8761fcce Initial load
duke
parents:
diff changeset
    32
 * A <code>Context</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
    33
 * contains a list of properties in the form of <code>NamedValue</code>
02bb8761fcce Initial load
duke
parents:
diff changeset
    34
 * objects. These properties represent information
02bb8761fcce Initial load
duke
parents:
diff changeset
    35
 * about the client, the environment, or the circumstances of a request
02bb8761fcce Initial load
duke
parents:
diff changeset
    36
 * and generally are properties that might be inconvenient
02bb8761fcce Initial load
duke
parents:
diff changeset
    37
 * to pass as parameters.
02bb8761fcce Initial load
duke
parents:
diff changeset
    38
 * <P>
02bb8761fcce Initial load
duke
parents:
diff changeset
    39
 * A <code>Context</code> object is created by first calling the
02bb8761fcce Initial load
duke
parents:
diff changeset
    40
 * <code>ORB</code> method <code>get_default_context</code>
02bb8761fcce Initial load
duke
parents:
diff changeset
    41
 * and then calling the method <code>create_child</code> on the
02bb8761fcce Initial load
duke
parents:
diff changeset
    42
 * default context.
02bb8761fcce Initial load
duke
parents:
diff changeset
    43
 * <P>
02bb8761fcce Initial load
duke
parents:
diff changeset
    44
 * Each property in a <code>Context</code> object is represented by
02bb8761fcce Initial load
duke
parents:
diff changeset
    45
 * a <code>NamedValue</code> object.  The property name is contained
02bb8761fcce Initial load
duke
parents:
diff changeset
    46
 * in the <code>NamedValue</code> object's <code>name</code> field, and
02bb8761fcce Initial load
duke
parents:
diff changeset
    47
 * the value associated with the name is contained in the <code>Any</code>
02bb8761fcce Initial load
duke
parents:
diff changeset
    48
 * object that was assigned to the <code>NamedValue</code> object's
02bb8761fcce Initial load
duke
parents:
diff changeset
    49
 * <code>value</code> field.
02bb8761fcce Initial load
duke
parents:
diff changeset
    50
 * <P>
02bb8761fcce Initial load
duke
parents:
diff changeset
    51
 * <code>Context</code> properties can represent a portion of a client's
02bb8761fcce Initial load
duke
parents:
diff changeset
    52
 * or application's environment that is meant to be propagated to
02bb8761fcce Initial load
duke
parents:
diff changeset
    53
 * (and made implicitly part of) a server's environment.
02bb8761fcce Initial load
duke
parents:
diff changeset
    54
 * (Examples might be a window identifier or user preference information).
02bb8761fcce Initial load
duke
parents:
diff changeset
    55
 * Once a server has been invoked (that is, after the properties are
02bb8761fcce Initial load
duke
parents:
diff changeset
    56
 * propagated), the server may query its <code>Context</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
    57
 * for these properties using the method <code>get_values</code>.
02bb8761fcce Initial load
duke
parents:
diff changeset
    58
 *
02bb8761fcce Initial load
duke
parents:
diff changeset
    59
 *<P>
02bb8761fcce Initial load
duke
parents:
diff changeset
    60
 * When an operation declaration includes a context clause,
02bb8761fcce Initial load
duke
parents:
diff changeset
    61
 * the stubs and skeletons will have an additional argument
02bb8761fcce Initial load
duke
parents:
diff changeset
    62
 * added for the context.  When an operation invocation occurs,
02bb8761fcce Initial load
duke
parents:
diff changeset
    63
 * the ORB causes the properties that were named in the operation
02bb8761fcce Initial load
duke
parents:
diff changeset
    64
 * definition in IDL and
02bb8761fcce Initial load
duke
parents:
diff changeset
    65
 * that are present in the client's <code>Context</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
    66
 * to be provided in the <code>Context</code> object parameter to
02bb8761fcce Initial load
duke
parents:
diff changeset
    67
 * the invoked method.
02bb8761fcce Initial load
duke
parents:
diff changeset
    68
 * <P>
02bb8761fcce Initial load
duke
parents:
diff changeset
    69
 * <code>Context</code> property names (which are strings)
02bb8761fcce Initial load
duke
parents:
diff changeset
    70
 * typically have the form of an OMG IDL identifier or
02bb8761fcce Initial load
duke
parents:
diff changeset
    71
 * a series of OMG IDL identifiers separated by periods.
02bb8761fcce Initial load
duke
parents:
diff changeset
    72
 * A context property name pattern is either a property name
02bb8761fcce Initial load
duke
parents:
diff changeset
    73
 * or a property name followed by a single "*".  A property
02bb8761fcce Initial load
duke
parents:
diff changeset
    74
 * name pattern without a trailing "*" is said to match only
02bb8761fcce Initial load
duke
parents:
diff changeset
    75
 * itself.  A property name pattern of the form "&lt;name&gt;*" matches any
02bb8761fcce Initial load
duke
parents:
diff changeset
    76
 * property name that starts with &lt;name&gt; and continues with zero
02bb8761fcce Initial load
duke
parents:
diff changeset
    77
 * or more additional characters.
02bb8761fcce Initial load
duke
parents:
diff changeset
    78
 * <P>
02bb8761fcce Initial load
duke
parents:
diff changeset
    79
 * Property name patterns are used in the context clause of
02bb8761fcce Initial load
duke
parents:
diff changeset
    80
 * an operation definition and as a parameter for the
02bb8761fcce Initial load
duke
parents:
diff changeset
    81
 * method <code>Context.get_values</code>.
02bb8761fcce Initial load
duke
parents:
diff changeset
    82
 * <P>
02bb8761fcce Initial load
duke
parents:
diff changeset
    83
 * <code>Context</code> objects may be "chained" together to achieve a
02bb8761fcce Initial load
duke
parents:
diff changeset
    84
 * particular defaulting behavior.  A <code>Context</code>
02bb8761fcce Initial load
duke
parents:
diff changeset
    85
 * object created with the method <code>create_child</code> will
02bb8761fcce Initial load
duke
parents:
diff changeset
    86
 * be chained to its parent (the <code>Context</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
    87
 * that created it), and that means that the parent will be searched
02bb8761fcce Initial load
duke
parents:
diff changeset
    88
 * after the child in a search for property names.
02bb8761fcce Initial load
duke
parents:
diff changeset
    89
 *<P>
02bb8761fcce Initial load
duke
parents:
diff changeset
    90
 * Properties defined in a particular <code>Context</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
    91
 * effectively override those properties in the next higher level.
02bb8761fcce Initial load
duke
parents:
diff changeset
    92
 * The scope used in a search for properties may be restricted by specifying a
02bb8761fcce Initial load
duke
parents:
diff changeset
    93
 * starting scope and by using the flag <code>CTX_RESTRICT_SCOPE</code>
02bb8761fcce Initial load
duke
parents:
diff changeset
    94
 * when invoking the method <code>get_values</code>.
02bb8761fcce Initial load
duke
parents:
diff changeset
    95
 * <P>
02bb8761fcce Initial load
duke
parents:
diff changeset
    96
 * A <code>Context</code> object may be named for purposes of specifying
02bb8761fcce Initial load
duke
parents:
diff changeset
    97
 * a starting search scope.
02bb8761fcce Initial load
duke
parents:
diff changeset
    98
 *
02bb8761fcce Initial load
duke
parents:
diff changeset
    99
 * @since   JDK1.2
02bb8761fcce Initial load
duke
parents:
diff changeset
   100
 */
02bb8761fcce Initial load
duke
parents:
diff changeset
   101
02bb8761fcce Initial load
duke
parents:
diff changeset
   102
public abstract class Context {
02bb8761fcce Initial load
duke
parents:
diff changeset
   103
02bb8761fcce Initial load
duke
parents:
diff changeset
   104
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   105
     * Retrieves the name of this <code>Context</code> object.
02bb8761fcce Initial load
duke
parents:
diff changeset
   106
     *
02bb8761fcce Initial load
duke
parents:
diff changeset
   107
     * @return                  the name of this <code>Context</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   108
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   109
02bb8761fcce Initial load
duke
parents:
diff changeset
   110
    public abstract String context_name();
02bb8761fcce Initial load
duke
parents:
diff changeset
   111
02bb8761fcce Initial load
duke
parents:
diff changeset
   112
02bb8761fcce Initial load
duke
parents:
diff changeset
   113
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   114
     * Retrieves the parent of this <code>Context</code> object.
02bb8761fcce Initial load
duke
parents:
diff changeset
   115
     *
02bb8761fcce Initial load
duke
parents:
diff changeset
   116
     * @return                  the <code>Context</code> object that is the
02bb8761fcce Initial load
duke
parents:
diff changeset
   117
     *                    parent of this <code>Context</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   118
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   119
02bb8761fcce Initial load
duke
parents:
diff changeset
   120
    public abstract Context parent();
02bb8761fcce Initial load
duke
parents:
diff changeset
   121
02bb8761fcce Initial load
duke
parents:
diff changeset
   122
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   123
     * Creates a <code>Context</code> object with the given string as its
02bb8761fcce Initial load
duke
parents:
diff changeset
   124
     * name and with this <code>Context</code> object set as its parent.
02bb8761fcce Initial load
duke
parents:
diff changeset
   125
     * <P>
02bb8761fcce Initial load
duke
parents:
diff changeset
   126
     * The new <code>Context</code> object is chained into its parent
02bb8761fcce Initial load
duke
parents:
diff changeset
   127
     * <code>Context</code> object.  This means that in a search for
02bb8761fcce Initial load
duke
parents:
diff changeset
   128
     * matching property names, if a match is not found in this context,
02bb8761fcce Initial load
duke
parents:
diff changeset
   129
     * the search will continue in the parent.  If that is not successful,
02bb8761fcce Initial load
duke
parents:
diff changeset
   130
     * the search will continue in the grandparent, if there is one, and
02bb8761fcce Initial load
duke
parents:
diff changeset
   131
     * so on.
02bb8761fcce Initial load
duke
parents:
diff changeset
   132
     *
02bb8761fcce Initial load
duke
parents:
diff changeset
   133
     *
02bb8761fcce Initial load
duke
parents:
diff changeset
   134
     * @param child_ctx_name    the <code>String</code> object to be set as
02bb8761fcce Initial load
duke
parents:
diff changeset
   135
     *                        the name of the new <code>Context</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   136
     * @return                  the newly-created child <code>Context</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   137
     *                    initialized with the specified name
02bb8761fcce Initial load
duke
parents:
diff changeset
   138
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   139
02bb8761fcce Initial load
duke
parents:
diff changeset
   140
    public abstract Context create_child(String child_ctx_name);
02bb8761fcce Initial load
duke
parents:
diff changeset
   141
02bb8761fcce Initial load
duke
parents:
diff changeset
   142
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   143
     * Creates a <code>NamedValue</code> object and adds it to this
02bb8761fcce Initial load
duke
parents:
diff changeset
   144
     * <code>Context</code> object.  The <code>name</code> field of the
02bb8761fcce Initial load
duke
parents:
diff changeset
   145
     * new <code>NamedValue</code> object is set to the given string,
02bb8761fcce Initial load
duke
parents:
diff changeset
   146
     * the <code>value</code> field is set to the given <code>Any</code>
02bb8761fcce Initial load
duke
parents:
diff changeset
   147
     * object, and the <code>flags</code> field is set to zero.
02bb8761fcce Initial load
duke
parents:
diff changeset
   148
     *
02bb8761fcce Initial load
duke
parents:
diff changeset
   149
     * @param propname          the name of the property to be set
02bb8761fcce Initial load
duke
parents:
diff changeset
   150
     * @param propvalue         the <code>Any</code> object to which the
02bb8761fcce Initial load
duke
parents:
diff changeset
   151
     *                        value of the property will be set.  The
02bb8761fcce Initial load
duke
parents:
diff changeset
   152
     *                        <code>Any</code> object's <code>value</code>
02bb8761fcce Initial load
duke
parents:
diff changeset
   153
     *                        field contains the value to be associated
02bb8761fcce Initial load
duke
parents:
diff changeset
   154
     *                        with the given propname; the
02bb8761fcce Initial load
duke
parents:
diff changeset
   155
     *                        <code>kind</code> field must be set to
02bb8761fcce Initial load
duke
parents:
diff changeset
   156
     *                        <code>TCKind.tk_string</code>.
02bb8761fcce Initial load
duke
parents:
diff changeset
   157
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   158
02bb8761fcce Initial load
duke
parents:
diff changeset
   159
    public abstract void set_one_value(String propname, Any propvalue);
02bb8761fcce Initial load
duke
parents:
diff changeset
   160
02bb8761fcce Initial load
duke
parents:
diff changeset
   161
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   162
       I Sets one or more property values in this <code>Context</code>
02bb8761fcce Initial load
duke
parents:
diff changeset
   163
       * object. The <code>NVList</code> supplied to this method
02bb8761fcce Initial load
duke
parents:
diff changeset
   164
       * contains one or more <code>NamedValue</code> objects.
02bb8761fcce Initial load
duke
parents:
diff changeset
   165
       * In each <code>NamedValue</code> object,
02bb8761fcce Initial load
duke
parents:
diff changeset
   166
       * the <code>name</code> field holds the name of the property, and
02bb8761fcce Initial load
duke
parents:
diff changeset
   167
       * the <code>flags</code> field must be set to zero.
02bb8761fcce Initial load
duke
parents:
diff changeset
   168
       * The <code>NamedValue</code> object's <code>value</code> field
02bb8761fcce Initial load
duke
parents:
diff changeset
   169
       * contains an <code>Any</code> object, which, in turn, contains the value
02bb8761fcce Initial load
duke
parents:
diff changeset
   170
       * for the property.  Since the value is always a string,
02bb8761fcce Initial load
duke
parents:
diff changeset
   171
       * the <code>Any</code> object must have the <code>kind</code>
02bb8761fcce Initial load
duke
parents:
diff changeset
   172
       * field of its <code>TypeCode</code> set to <code>TCKind.tk_string</code>.
02bb8761fcce Initial load
duke
parents:
diff changeset
   173
       *
02bb8761fcce Initial load
duke
parents:
diff changeset
   174
       * @param values          an NVList containing the property
02bb8761fcce Initial load
duke
parents:
diff changeset
   175
       *                                    names and associated values to be set
02bb8761fcce Initial load
duke
parents:
diff changeset
   176
       *
02bb8761fcce Initial load
duke
parents:
diff changeset
   177
       * @see #get_values
02bb8761fcce Initial load
duke
parents:
diff changeset
   178
       * @see org.omg.CORBA.NamedValue
02bb8761fcce Initial load
duke
parents:
diff changeset
   179
       * @see org.omg.CORBA.Any
02bb8761fcce Initial load
duke
parents:
diff changeset
   180
       */
02bb8761fcce Initial load
duke
parents:
diff changeset
   181
02bb8761fcce Initial load
duke
parents:
diff changeset
   182
    public abstract void set_values(NVList values);
02bb8761fcce Initial load
duke
parents:
diff changeset
   183
02bb8761fcce Initial load
duke
parents:
diff changeset
   184
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   185
     * Deletes from this <code>Context</code> object the
02bb8761fcce Initial load
duke
parents:
diff changeset
   186
     * <code>NamedValue</code> object(s) whose
02bb8761fcce Initial load
duke
parents:
diff changeset
   187
     * <code>name</code> field matches the given property name.
02bb8761fcce Initial load
duke
parents:
diff changeset
   188
     * If the <code>String</code> object supplied for
02bb8761fcce Initial load
duke
parents:
diff changeset
   189
     * <code>propname</code> has a
02bb8761fcce Initial load
duke
parents:
diff changeset
   190
     * trailing wildcard character ("*"), then
02bb8761fcce Initial load
duke
parents:
diff changeset
   191
     * all <code>NamedValue</code> objects whose <code>name</code>
02bb8761fcce Initial load
duke
parents:
diff changeset
   192
     * fields match will be deleted. The search scope is always
02bb8761fcce Initial load
duke
parents:
diff changeset
   193
     * limited to this <code>Context</code> object.
02bb8761fcce Initial load
duke
parents:
diff changeset
   194
     * <P>
02bb8761fcce Initial load
duke
parents:
diff changeset
   195
     * If no matching property is found, an exception is returned.
02bb8761fcce Initial load
duke
parents:
diff changeset
   196
     *
02bb8761fcce Initial load
duke
parents:
diff changeset
   197
     * @param propname          name of the property to be deleted
02bb8761fcce Initial load
duke
parents:
diff changeset
   198
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   199
02bb8761fcce Initial load
duke
parents:
diff changeset
   200
    public abstract void delete_values(String propname);
02bb8761fcce Initial load
duke
parents:
diff changeset
   201
02bb8761fcce Initial load
duke
parents:
diff changeset
   202
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   203
     * Retrieves the <code>NamedValue</code> objects whose
02bb8761fcce Initial load
duke
parents:
diff changeset
   204
     * <code>name</code> field matches the given name or name
02bb8761fcce Initial load
duke
parents:
diff changeset
   205
     * pattern.   This method allows for wildcard searches,
02bb8761fcce Initial load
duke
parents:
diff changeset
   206
     * which means that there can be multiple matches and
02bb8761fcce Initial load
duke
parents:
diff changeset
   207
     * therefore multiple values returned. If the
02bb8761fcce Initial load
duke
parents:
diff changeset
   208
     * property is not found at the indicated level, the search
02bb8761fcce Initial load
duke
parents:
diff changeset
   209
     * continues up the context object tree until a match is found or
02bb8761fcce Initial load
duke
parents:
diff changeset
   210
     * all <code>Context</code> objects in the chain have been exhausted.
02bb8761fcce Initial load
duke
parents:
diff changeset
   211
     * <P>
02bb8761fcce Initial load
duke
parents:
diff changeset
   212
     * If no match is found, an error is returned and no property list
02bb8761fcce Initial load
duke
parents:
diff changeset
   213
     * is returned.
02bb8761fcce Initial load
duke
parents:
diff changeset
   214
     *
02bb8761fcce Initial load
duke
parents:
diff changeset
   215
     * @param start_scope               a <code>String</code> object indicating the
02bb8761fcce Initial load
duke
parents:
diff changeset
   216
     *                context object level at which to initiate the
02bb8761fcce Initial load
duke
parents:
diff changeset
   217
     *                          search for the specified properties
02bb8761fcce Initial load
duke
parents:
diff changeset
   218
     *                          (for example, "_USER", "_GROUP", "_SYSTEM"). Valid scope
02bb8761fcce Initial load
duke
parents:
diff changeset
   219
     *                          names are implementation-specific. If a
02bb8761fcce Initial load
duke
parents:
diff changeset
   220
     *                          scope name is omitted, the search
02bb8761fcce Initial load
duke
parents:
diff changeset
   221
     *                          begins with the specified context
02bb8761fcce Initial load
duke
parents:
diff changeset
   222
     *                          object. If the specified scope name is
02bb8761fcce Initial load
duke
parents:
diff changeset
   223
     *                          not found, an exception is returned.
02bb8761fcce Initial load
duke
parents:
diff changeset
   224
     * @param op_flags       an operation flag.  The one flag
02bb8761fcce Initial load
duke
parents:
diff changeset
   225
     *                that may be specified is <code>CTX_RESTRICT_SCOPE</code>.
02bb8761fcce Initial load
duke
parents:
diff changeset
   226
     *                If this flag is specified, searching is limited to the
02bb8761fcce Initial load
duke
parents:
diff changeset
   227
     *                          specified <code>start_scope</code> or this
02bb8761fcce Initial load
duke
parents:
diff changeset
   228
     *                <code>Context</code> object.
02bb8761fcce Initial load
duke
parents:
diff changeset
   229
     * @param pattern           the property name whose values are to
02bb8761fcce Initial load
duke
parents:
diff changeset
   230
     *                          be retrieved. <code>pattern</code> may be a
02bb8761fcce Initial load
duke
parents:
diff changeset
   231
     *                name or a name with a
02bb8761fcce Initial load
duke
parents:
diff changeset
   232
     *                          trailing wildcard character ("*").
02bb8761fcce Initial load
duke
parents:
diff changeset
   233
     *
02bb8761fcce Initial load
duke
parents:
diff changeset
   234
     * @return          an <code>NVList</code> containing all the property values
02bb8761fcce Initial load
duke
parents:
diff changeset
   235
     *                (in the form of <code>NamedValue</code> objects)
02bb8761fcce Initial load
duke
parents:
diff changeset
   236
     *                whose associated property name matches the given name or
02bb8761fcce Initial load
duke
parents:
diff changeset
   237
     *                name pattern
02bb8761fcce Initial load
duke
parents:
diff changeset
   238
     * @see #set_values
02bb8761fcce Initial load
duke
parents:
diff changeset
   239
     * @see org.omg.CORBA.NamedValue
02bb8761fcce Initial load
duke
parents:
diff changeset
   240
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   241
02bb8761fcce Initial load
duke
parents:
diff changeset
   242
    abstract public NVList get_values(String start_scope, int op_flags,
02bb8761fcce Initial load
duke
parents:
diff changeset
   243
                                      String pattern);
02bb8761fcce Initial load
duke
parents:
diff changeset
   244
};