2362N/A * Copyright (c) 1999, 2009, Oracle and/or its affiliates. All rights reserved. 0N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 0N/A * This code is free software; you can redistribute it and/or modify it 0N/A * under the terms of the GNU General Public License version 2 only, as 2362N/A * published by the Free Software Foundation. Oracle designates this 0N/A * particular file as subject to the "Classpath" exception as provided 2362N/A * by Oracle in the LICENSE file that accompanied this code. 0N/A * This code is distributed in the hope that it will be useful, but WITHOUT 0N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 0N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 0N/A * version 2 for more details (a copy is included in the LICENSE file that 0N/A * accompanied this code). 0N/A * You should have received a copy of the GNU General Public License version 0N/A * 2 along with this work; if not, write to the Free Software Foundation, 0N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 2362N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 2362N/A * or visit www.oracle.com if you need additional information or have any 0N/A * This class is the starting context for performing 0N/A * directory operations. The documentation in the class description 0N/A * of InitialContext (including those for synchronization) apply here. 0N/A * @author Rosanna Lee 0N/A * @author Scott Seligman 0N/A * Constructs an initial DirContext with the option of not 0N/A * initializing it. This may be used by a constructor in 0N/A * a subclass when the value of the environment parameter 0N/A * is not yet known at the time the <tt>InitialDirContext</tt> 0N/A * constructor is called. The subclass's constructor will 0N/A * call this constructor, compute the value of the environment, 0N/A * and then call <tt>init()</tt> before returning. 0N/A * true means do not initialize the initial DirContext; false 0N/A * is equivalent to calling <tt>new InitialDirContext()</tt> 0N/A * @throws NamingException if a naming exception is encountered 0N/A * @see InitialContext#init(Hashtable) 0N/A * Constructs an initial DirContext. 0N/A * No environment properties are supplied. 0N/A * Equivalent to <tt>new InitialDirContext(null)</tt>. 0N/A * @throws NamingException if a naming exception is encountered 0N/A * @see #InitialDirContext(Hashtable) 0N/A * Constructs an initial DirContext using the supplied environment. 0N/A * Environment properties are discussed in the 0N/A * <p> This constructor will not modify <tt>environment</tt> 0N/A * or save a reference to it, but may save a clone. 1954N/A * Caller should not modify mutable keys and values in 1954N/A * <tt>environment</tt> after it has been passed to the constructor. 0N/A * @param environment 0N/A * environment used to create the initial DirContext. 0N/A * Null indicates an empty environment. 0N/A * @throws NamingException if a naming exception is encountered 0N/A "Not an instance of DirContext");
0N/A "Not an instance of DirContext");
0N/A// DirContext methods 0N/A// Most Javadoc is deferred to the DirContext interface. 0N/A// -------------------- search operations