/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/**
* Direct subclasses of AtomicDirContext must provide implementations for
* the abstract a_ DirContext methods, and override the a_ Context methods
* (which are no longer abstract because they have been overriden by
* PartialCompositeDirContext with dummy implementations).
*
* If the subclass implements the notion of implicit nns,
* it must override the a_*_nns DirContext and Context methods as well.
*
* @author Rosanna Lee
*
*/
protected AtomicDirContext() {
}
// ------ Abstract methods whose implementations come from subclass
throws NamingException;
throws NamingException;
throws NamingException;
throws NamingException;
throws NamingException;
throws NamingException;
throws NamingException;
Object[] filterArgs,
throws NamingException;
throws NamingException;
throws NamingException;
throws NamingException;
// ------ Methods that need to be overridden by subclass
// default implementations of a_*_nns methods
// The following methods are called when the DirContext methods
// are invoked with a name that has a trailing slash.
// For naming systems that support implicit nns,
// the trailing slash signifies the implicit nns.
// For such naming systems, override these a_*_nns methods.
//
// For naming systems that support junctions (explicit nns),
// the trailing slash is meaningless because a junction does not
// have an implicit nns. The default implementation here
// throws a NameNotFoundException for such names.
// If a context wants to accept a trailing slash as having
// the same meaning as the same name without a trailing slash,
// then it should override these a_*_nns methods.
throws NamingException {
return null;
}
throws NamingException {
}
throws NamingException {
}
throws NamingException {
}
throws NamingException {
}
throws NamingException {
return null;
}
throws NamingException {
return null;
}
Object[] filterArgs,
throws NamingException {
return null;
}
throws NamingException {
return null;
}
return null;
}
throws NamingException {
return null;
}
// ------- implementations of c_ DirContext methods using corresponding
// ------- a_ and a_*_nns methods
throws NamingException {
return null;
}
throws NamingException {
}
throws NamingException {
}
throws NamingException {
}
throws NamingException {
}
throws NamingException {
return null;
}
throws NamingException {
return null;
}
throws NamingException {
return null;
}
Object[] filterArgs,
throws NamingException {
return null;
}
throws NamingException {
return a_getSchema(cont);
return null;
}
throws NamingException {
return a_getSchemaClassDefinition(cont);
return null;
}
/* equivalent to methods in DirContext interface for nns */
throws NamingException {
return null;
}
throws NamingException {
}
throws NamingException {
}
throws NamingException {
}
throws NamingException {
}
throws NamingException {
return null;
}
throws NamingException {
return null;
}
throws NamingException {
return null;
}
Object[] filterArgs,
throws NamingException {
return null;
}
throws NamingException {
return null;
}
throws NamingException {
return null;
}
}