<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.4.2) on Sat Sep 25 10:14:04 EDT 2004 -->
<TITLE>
BaseDirContext (Catalina Internal API Documentation)
</TITLE>

<META NAME="keywords" CONTENT="org.apache.naming.resources.BaseDirContext class">

<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">

<SCRIPT type="text/javascript">
function windowTitle()
{
    parent.document.title="BaseDirContext (Catalina Internal API Documentation)";
}
</SCRIPT>

</HEAD>

<BODY BGCOLOR="white" onload="windowTitle();">


<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;PREV CLASS&nbsp;
&nbsp;<A HREF="../../../../org/apache/naming/resources/Constants.html" title="class in org.apache.naming.resources"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="BaseDirContext.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>

</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->

<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.apache.naming.resources</FONT>
<BR>
Class BaseDirContext</H2>
<PRE>
java.lang.Object
  <IMG SRC="../../../../resources/inherit.gif" ALT="extended by"><B>org.apache.naming.resources.BaseDirContext</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD>javax.naming.Context, javax.naming.directory.DirContext</DD>
</DL>
<DL>
<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../org/apache/naming/resources/FileDirContext.html" title="class in org.apache.naming.resources">FileDirContext</A>, <A HREF="../../../../org/apache/naming/resources/WARDirContext.html" title="class in org.apache.naming.resources">WARDirContext</A></DD>
</DL>
<HR>
<DL>
<DT>public abstract class <B>BaseDirContext</B><DT>extends java.lang.Object<DT>implements javax.naming.directory.DirContext</DL>

<P>
Directory Context implementation helper class.
<P>

<P>
<DL>
<DT><B>Version:</B></DT>
  <DD>$Revision: 1.5 $ $Date: 2004/08/26 21:45:38 $</DD>
<DT><B>Author:</B></DT>
  <DD>Remy Maucherat</DD>
</DL>
<HR>

<P>
<!-- ======== NESTED CLASS SUMMARY ======== -->


<!-- =========== FIELD SUMMARY =========== -->

<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Field Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#cached">cached</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Cached.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#cacheObjectMaxSize">cacheObjectMaxSize</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Max size of resources which will have their content cached.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#cacheTTL">cacheTTL</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Cache TTL.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#debug">debug</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The debugging detail level for this component.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#docBase">docBase</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The document base path.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;java.util.Hashtable</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#env">env</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Environment.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;javax.naming.NameParser</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#nameParser">nameParser</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Name parser for this context.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="../../../../org/apache/naming/StringManager.html" title="class in org.apache.naming">StringManager</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#sm">sm</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The string manager for this package.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="fields_inherited_from_class_javax.naming.directory.DirContext"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Fields inherited from interface javax.naming.directory.DirContext</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>ADD_ATTRIBUTE, REMOVE_ATTRIBUTE, REPLACE_ATTRIBUTE</CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="fields_inherited_from_class_javax.naming.Context"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Fields inherited from interface javax.naming.Context</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>APPLET, AUTHORITATIVE, BATCHSIZE, DNS_URL, INITIAL_CONTEXT_FACTORY, LANGUAGE, OBJECT_FACTORIES, PROVIDER_URL, REFERRAL, SECURITY_AUTHENTICATION, SECURITY_CREDENTIALS, SECURITY_PRINCIPAL, SECURITY_PROTOCOL, STATE_FACTORIES, URL_PKG_PREFIXES</CODE></TD>
</TR>
</TABLE>
&nbsp;
<!-- ======== CONSTRUCTOR SUMMARY ======== -->

<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#BaseDirContext()">BaseDirContext</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Builds a base directory context.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#BaseDirContext(java.util.Hashtable)">BaseDirContext</A></B>(java.util.Hashtable&nbsp;env)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Builds a base directory context using the given environment.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->

<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#addToEnvironment(java.lang.String, java.lang.Object)">addToEnvironment</A></B>(java.lang.String&nbsp;propName,
                 java.lang.Object&nbsp;propVal)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a new environment property to the environment of this context.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#allocate()">allocate</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Allocate resources for this directory context.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#bind(javax.naming.Name, java.lang.Object)">bind</A></B>(javax.naming.Name&nbsp;name,
     java.lang.Object&nbsp;obj)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Binds a name to an object.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#bind(javax.naming.Name, java.lang.Object, javax.naming.directory.Attributes)">bind</A></B>(javax.naming.Name&nbsp;name,
     java.lang.Object&nbsp;obj,
     javax.naming.directory.Attributes&nbsp;attrs)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Binds a name to an object, along with associated attributes.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#bind(java.lang.String, java.lang.Object)">bind</A></B>(java.lang.String&nbsp;name,
     java.lang.Object&nbsp;obj)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Binds a name to an object.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#bind(java.lang.String, java.lang.Object, javax.naming.directory.Attributes)">bind</A></B>(java.lang.String&nbsp;name,
     java.lang.Object&nbsp;obj,
     javax.naming.directory.Attributes&nbsp;attrs)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Binds a name to an object, along with associated attributes.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#close()">close</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Closes this context.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;javax.naming.Name</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#composeName(javax.naming.Name, javax.naming.Name)">composeName</A></B>(javax.naming.Name&nbsp;name,
            javax.naming.Name&nbsp;prefix)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Composes the name of this context with a name relative to this context.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#composeName(java.lang.String, java.lang.String)">composeName</A></B>(java.lang.String&nbsp;name,
            java.lang.String&nbsp;prefix)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Composes the name of this context with a name relative to this context.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;javax.naming.Context</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#createSubcontext(javax.naming.Name)">createSubcontext</A></B>(javax.naming.Name&nbsp;name)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates and binds a new context.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;javax.naming.directory.DirContext</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#createSubcontext(javax.naming.Name, javax.naming.directory.Attributes)">createSubcontext</A></B>(javax.naming.Name&nbsp;name,
                 javax.naming.directory.Attributes&nbsp;attrs)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates and binds a new context, along with associated attributes.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;javax.naming.Context</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#createSubcontext(java.lang.String)">createSubcontext</A></B>(java.lang.String&nbsp;name)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates and binds a new context.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract &nbsp;javax.naming.directory.DirContext</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#createSubcontext(java.lang.String, javax.naming.directory.Attributes)">createSubcontext</A></B>(java.lang.String&nbsp;name,
                 javax.naming.directory.Attributes&nbsp;attrs)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates and binds a new context, along with associated attributes.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#destroySubcontext(javax.naming.Name)">destroySubcontext</A></B>(javax.naming.Name&nbsp;name)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Destroys the named context and removes it from the namespace.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#destroySubcontext(java.lang.String)">destroySubcontext</A></B>(java.lang.String&nbsp;name)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Destroys the named context and removes it from the namespace.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;javax.naming.directory.Attributes</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#getAttributes(javax.naming.Name)">getAttributes</A></B>(javax.naming.Name&nbsp;name)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves all of the attributes associated with a named object.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;javax.naming.directory.Attributes</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#getAttributes(javax.naming.Name, java.lang.String[])">getAttributes</A></B>(javax.naming.Name&nbsp;name,
              java.lang.String[]&nbsp;attrIds)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves selected attributes associated with a named object.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;javax.naming.directory.Attributes</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#getAttributes(java.lang.String)">getAttributes</A></B>(java.lang.String&nbsp;name)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves all of the attributes associated with a named object.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract &nbsp;javax.naming.directory.Attributes</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#getAttributes(java.lang.String, java.lang.String[])">getAttributes</A></B>(java.lang.String&nbsp;name,
              java.lang.String[]&nbsp;attrIds)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves selected attributes associated with a named object.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#getCacheObjectMaxSize()">getCacheObjectMaxSize</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get cacheObjectMaxSize.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#getCacheTTL()">getCacheTTL</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get cache TTL.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#getDebug()">getDebug</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the debugging detail level for this component.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#getDocBase()">getDocBase</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the document root for this component.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.util.Hashtable</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#getEnvironment()">getEnvironment</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves the environment in effect for this context.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract &nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#getNameInNamespace()">getNameInNamespace</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves the full name of this context within its own namespace.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;javax.naming.NameParser</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#getNameParser(javax.naming.Name)">getNameParser</A></B>(javax.naming.Name&nbsp;name)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves the parser associated with the named context.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;javax.naming.NameParser</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#getNameParser(java.lang.String)">getNameParser</A></B>(java.lang.String&nbsp;name)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves the parser associated with the named context.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;javax.naming.directory.DirContext</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#getSchema(javax.naming.Name)">getSchema</A></B>(javax.naming.Name&nbsp;name)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves the schema associated with the named object.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract &nbsp;javax.naming.directory.DirContext</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#getSchema(java.lang.String)">getSchema</A></B>(java.lang.String&nbsp;name)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves the schema associated with the named object.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;javax.naming.directory.DirContext</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#getSchemaClassDefinition(javax.naming.Name)">getSchemaClassDefinition</A></B>(javax.naming.Name&nbsp;name)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves a context containing the schema objects of the named 
 object's class definitions.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract &nbsp;javax.naming.directory.DirContext</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#getSchemaClassDefinition(java.lang.String)">getSchemaClassDefinition</A></B>(java.lang.String&nbsp;name)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves a context containing the schema objects of the named 
 object's class definitions.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#isCached()">isCached</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Is cached ?</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;javax.naming.NamingEnumeration</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#list(javax.naming.Name)">list</A></B>(javax.naming.Name&nbsp;name)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Enumerates the names bound in the named context, along with the class 
 names of objects bound to them.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract &nbsp;javax.naming.NamingEnumeration</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#list(java.lang.String)">list</A></B>(java.lang.String&nbsp;name)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Enumerates the names bound in the named context, along with the class 
 names of objects bound to them.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;javax.naming.NamingEnumeration</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#listBindings(javax.naming.Name)">listBindings</A></B>(javax.naming.Name&nbsp;name)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Enumerates the names bound in the named context, along with the 
 objects bound to them.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract &nbsp;javax.naming.NamingEnumeration</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#listBindings(java.lang.String)">listBindings</A></B>(java.lang.String&nbsp;name)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Enumerates the names bound in the named context, along with the 
 objects bound to them.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#lookup(javax.naming.Name)">lookup</A></B>(javax.naming.Name&nbsp;name)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves the named object.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract &nbsp;java.lang.Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#lookup(java.lang.String)">lookup</A></B>(java.lang.String&nbsp;name)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves the named object.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#lookupLink(javax.naming.Name)">lookupLink</A></B>(javax.naming.Name&nbsp;name)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves the named object, following links except for the terminal 
 atomic component of the name.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract &nbsp;java.lang.Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#lookupLink(java.lang.String)">lookupLink</A></B>(java.lang.String&nbsp;name)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves the named object, following links except for the terminal 
 atomic component of the name.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#modifyAttributes(javax.naming.Name, int, javax.naming.directory.Attributes)">modifyAttributes</A></B>(javax.naming.Name&nbsp;name,
                 int&nbsp;mod_op,
                 javax.naming.directory.Attributes&nbsp;attrs)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Modifies the attributes associated with a named object.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#modifyAttributes(javax.naming.Name, javax.naming.directory.ModificationItem[])">modifyAttributes</A></B>(javax.naming.Name&nbsp;name,
                 javax.naming.directory.ModificationItem[]&nbsp;mods)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Modifies the attributes associated with a named object using an an 
 ordered list of modifications.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#modifyAttributes(java.lang.String, int, javax.naming.directory.Attributes)">modifyAttributes</A></B>(java.lang.String&nbsp;name,
                 int&nbsp;mod_op,
                 javax.naming.directory.Attributes&nbsp;attrs)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Modifies the attributes associated with a named object.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#modifyAttributes(java.lang.String, javax.naming.directory.ModificationItem[])">modifyAttributes</A></B>(java.lang.String&nbsp;name,
                 javax.naming.directory.ModificationItem[]&nbsp;mods)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Modifies the attributes associated with a named object using an an 
 ordered list of modifications.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#rebind(javax.naming.Name, java.lang.Object)">rebind</A></B>(javax.naming.Name&nbsp;name,
       java.lang.Object&nbsp;obj)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Binds a name to an object, overwriting any existing binding.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#rebind(javax.naming.Name, java.lang.Object, javax.naming.directory.Attributes)">rebind</A></B>(javax.naming.Name&nbsp;name,
       java.lang.Object&nbsp;obj,
       javax.naming.directory.Attributes&nbsp;attrs)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Binds a name to an object, along with associated attributes, 
 overwriting any existing binding.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#rebind(java.lang.String, java.lang.Object)">rebind</A></B>(java.lang.String&nbsp;name,
       java.lang.Object&nbsp;obj)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Binds a name to an object, overwriting any existing binding.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#rebind(java.lang.String, java.lang.Object, javax.naming.directory.Attributes)">rebind</A></B>(java.lang.String&nbsp;name,
       java.lang.Object&nbsp;obj,
       javax.naming.directory.Attributes&nbsp;attrs)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Binds a name to an object, along with associated attributes, 
 overwriting any existing binding.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#release()">release</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Release any resources allocated for this directory context.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#removeFromEnvironment(java.lang.String)">removeFromEnvironment</A></B>(java.lang.String&nbsp;propName)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes an environment property from the environment of this context.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#rename(javax.naming.Name, javax.naming.Name)">rename</A></B>(javax.naming.Name&nbsp;oldName,
       javax.naming.Name&nbsp;newName)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Binds a new name to the object bound to an old name, and unbinds the 
 old name.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#rename(java.lang.String, java.lang.String)">rename</A></B>(java.lang.String&nbsp;oldName,
       java.lang.String&nbsp;newName)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Binds a new name to the object bound to an old name, and unbinds the 
 old name.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;javax.naming.NamingEnumeration</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#search(javax.naming.Name, javax.naming.directory.Attributes)">search</A></B>(javax.naming.Name&nbsp;name,
       javax.naming.directory.Attributes&nbsp;matchingAttributes)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Searches in a single context for objects that contain a specified set 
 of attributes.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;javax.naming.NamingEnumeration</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#search(javax.naming.Name, javax.naming.directory.Attributes, java.lang.String[])">search</A></B>(javax.naming.Name&nbsp;name,
       javax.naming.directory.Attributes&nbsp;matchingAttributes,
       java.lang.String[]&nbsp;attributesToReturn)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Searches in a single context for objects that contain a specified set 
 of attributes, and retrieves selected attributes.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;javax.naming.NamingEnumeration</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#search(javax.naming.Name, java.lang.String, java.lang.Object[], javax.naming.directory.SearchControls)">search</A></B>(javax.naming.Name&nbsp;name,
       java.lang.String&nbsp;filterExpr,
       java.lang.Object[]&nbsp;filterArgs,
       javax.naming.directory.SearchControls&nbsp;cons)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Searches in the named context or object for entries that satisfy the 
 given search filter.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;javax.naming.NamingEnumeration</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#search(javax.naming.Name, java.lang.String, javax.naming.directory.SearchControls)">search</A></B>(javax.naming.Name&nbsp;name,
       java.lang.String&nbsp;filter,
       javax.naming.directory.SearchControls&nbsp;cons)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Searches in the named context or object for entries that satisfy the 
 given search filter.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract &nbsp;javax.naming.NamingEnumeration</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#search(java.lang.String, javax.naming.directory.Attributes)">search</A></B>(java.lang.String&nbsp;name,
       javax.naming.directory.Attributes&nbsp;matchingAttributes)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Searches in a single context for objects that contain a specified set 
 of attributes.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract &nbsp;javax.naming.NamingEnumeration</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#search(java.lang.String, javax.naming.directory.Attributes, java.lang.String[])">search</A></B>(java.lang.String&nbsp;name,
       javax.naming.directory.Attributes&nbsp;matchingAttributes,
       java.lang.String[]&nbsp;attributesToReturn)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Searches in a single context for objects that contain a specified set 
 of attributes, and retrieves selected attributes.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract &nbsp;javax.naming.NamingEnumeration</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#search(java.lang.String, java.lang.String, java.lang.Object[], javax.naming.directory.SearchControls)">search</A></B>(java.lang.String&nbsp;name,
       java.lang.String&nbsp;filterExpr,
       java.lang.Object[]&nbsp;filterArgs,
       javax.naming.directory.SearchControls&nbsp;cons)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Searches in the named context or object for entries that satisfy the 
 given search filter.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract &nbsp;javax.naming.NamingEnumeration</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#search(java.lang.String, java.lang.String, javax.naming.directory.SearchControls)">search</A></B>(java.lang.String&nbsp;name,
       java.lang.String&nbsp;filter,
       javax.naming.directory.SearchControls&nbsp;cons)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Searches in the named context or object for entries that satisfy the 
 given search filter.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#setCached(boolean)">setCached</A></B>(boolean&nbsp;cached)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set cached.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#setCacheObjectMaxSize(int)">setCacheObjectMaxSize</A></B>(int&nbsp;cacheObjectMaxSize)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set cacheObjectMaxSize.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#setCacheTTL(int)">setCacheTTL</A></B>(int&nbsp;cacheTTL)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set cache TTL.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#setDebug(int)">setDebug</A></B>(int&nbsp;debug)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the debugging detail level for this component.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#setDocBase(java.lang.String)">setDocBase</A></B>(java.lang.String&nbsp;docBase)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the document root for this component.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#unbind(javax.naming.Name)">unbind</A></B>(javax.naming.Name&nbsp;name)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Unbinds the named object.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#unbind(java.lang.String)">unbind</A></B>(java.lang.String&nbsp;name)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Unbinds the named object.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.Object</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>

<!-- ============ FIELD DETAIL =========== -->

<A NAME="field_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Field Detail</B></FONT></TD>
</TR>
</TABLE>

<A NAME="debug"><!-- --></A><H3>
debug</H3>
<PRE>
protected int <B>debug</B></PRE>
<DL>
<DD>The debugging detail level for this component.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="docBase"><!-- --></A><H3>
docBase</H3>
<PRE>
protected java.lang.String <B>docBase</B></PRE>
<DL>
<DD>The document base path.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="env"><!-- --></A><H3>
env</H3>
<PRE>
protected java.util.Hashtable <B>env</B></PRE>
<DL>
<DD>Environment.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="sm"><!-- --></A><H3>
sm</H3>
<PRE>
protected <A HREF="../../../../org/apache/naming/StringManager.html" title="class in org.apache.naming">StringManager</A> <B>sm</B></PRE>
<DL>
<DD>The string manager for this package.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="nameParser"><!-- --></A><H3>
nameParser</H3>
<PRE>
protected final javax.naming.NameParser <B>nameParser</B></PRE>
<DL>
<DD>Name parser for this context.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="cached"><!-- --></A><H3>
cached</H3>
<PRE>
protected boolean <B>cached</B></PRE>
<DL>
<DD>Cached.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="cacheTTL"><!-- --></A><H3>
cacheTTL</H3>
<PRE>
protected int <B>cacheTTL</B></PRE>
<DL>
<DD>Cache TTL.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="cacheObjectMaxSize"><!-- --></A><H3>
cacheObjectMaxSize</H3>
<PRE>
protected int <B>cacheObjectMaxSize</B></PRE>
<DL>
<DD>Max size of resources which will have their content cached.
<P>
<DL>
</DL>
</DL>

<!-- ========= CONSTRUCTOR DETAIL ======== -->

<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>

<A NAME="BaseDirContext()"><!-- --></A><H3>
BaseDirContext</H3>
<PRE>
public <B>BaseDirContext</B>()</PRE>
<DL>
<DD>Builds a base directory context.
<P>
</DL>
<HR>

<A NAME="BaseDirContext(java.util.Hashtable)"><!-- --></A><H3>
BaseDirContext</H3>
<PRE>
public <B>BaseDirContext</B>(java.util.Hashtable&nbsp;env)</PRE>
<DL>
<DD>Builds a base directory context using the given environment.
<P>
</DL>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>

<A NAME="getDebug()"><!-- --></A><H3>
getDebug</H3>
<PRE>
public int <B>getDebug</B>()</PRE>
<DL>
<DD>Return the debugging detail level for this component.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setDebug(int)"><!-- --></A><H3>
setDebug</H3>
<PRE>
public void <B>setDebug</B>(int&nbsp;debug)</PRE>
<DL>
<DD>Set the debugging detail level for this component.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>debug</CODE> - The new debugging detail level</DL>
</DD>
</DL>
<HR>

<A NAME="getDocBase()"><!-- --></A><H3>
getDocBase</H3>
<PRE>
public java.lang.String <B>getDocBase</B>()</PRE>
<DL>
<DD>Return the document root for this component.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setDocBase(java.lang.String)"><!-- --></A><H3>
setDocBase</H3>
<PRE>
public void <B>setDocBase</B>(java.lang.String&nbsp;docBase)</PRE>
<DL>
<DD>Set the document root for this component.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>docBase</CODE> - The new document root
<DT><B>Throws:</B>
<DD><CODE>java.lang.IllegalArgumentException</CODE> - if the specified value is not
  supported by this implementation
<DD><CODE>java.lang.IllegalArgumentException</CODE> - if this would create a
  malformed URL</DL>
</DD>
</DL>
<HR>

<A NAME="setCached(boolean)"><!-- --></A><H3>
setCached</H3>
<PRE>
public void <B>setCached</B>(boolean&nbsp;cached)</PRE>
<DL>
<DD>Set cached.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="isCached()"><!-- --></A><H3>
isCached</H3>
<PRE>
public boolean <B>isCached</B>()</PRE>
<DL>
<DD>Is cached ?
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setCacheTTL(int)"><!-- --></A><H3>
setCacheTTL</H3>
<PRE>
public void <B>setCacheTTL</B>(int&nbsp;cacheTTL)</PRE>
<DL>
<DD>Set cache TTL.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getCacheTTL()"><!-- --></A><H3>
getCacheTTL</H3>
<PRE>
public int <B>getCacheTTL</B>()</PRE>
<DL>
<DD>Get cache TTL.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setCacheObjectMaxSize(int)"><!-- --></A><H3>
setCacheObjectMaxSize</H3>
<PRE>
public void <B>setCacheObjectMaxSize</B>(int&nbsp;cacheObjectMaxSize)</PRE>
<DL>
<DD>Set cacheObjectMaxSize.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getCacheObjectMaxSize()"><!-- --></A><H3>
getCacheObjectMaxSize</H3>
<PRE>
public int <B>getCacheObjectMaxSize</B>()</PRE>
<DL>
<DD>Get cacheObjectMaxSize.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="allocate()"><!-- --></A><H3>
allocate</H3>
<PRE>
public void <B>allocate</B>()</PRE>
<DL>
<DD>Allocate resources for this directory context.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="release()"><!-- --></A><H3>
release</H3>
<PRE>
public void <B>release</B>()</PRE>
<DL>
<DD>Release any resources allocated for this directory context.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="lookup(javax.naming.Name)"><!-- --></A><H3>
lookup</H3>
<PRE>
public java.lang.Object <B>lookup</B>(javax.naming.Name&nbsp;name)
                        throws javax.naming.NamingException</PRE>
<DL>
<DD>Retrieves the named object. If name is empty, returns a new instance 
 of this context (which represents the same naming context as this 
 context, but its environment may be modified independently and it may 
 be accessed concurrently).
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>lookup</CODE> in interface <CODE>javax.naming.Context</CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the object to look up
<DT><B>Returns:</B><DD>the object bound to name
<DT><B>Throws:</B>
<DD><CODE>javax.naming.NamingException</CODE> - if a naming exception is encountered</DL>
</DD>
</DL>
<HR>

<A NAME="lookup(java.lang.String)"><!-- --></A><H3>
lookup</H3>
<PRE>
public abstract java.lang.Object <B>lookup</B>(java.lang.String&nbsp;name)
                                 throws javax.naming.NamingException</PRE>
<DL>
<DD>Retrieves the named object.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>lookup</CODE> in interface <CODE>javax.naming.Context</CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the object to look up
<DT><B>Returns:</B><DD>the object bound to name
<DT><B>Throws:</B>
<DD><CODE>javax.naming.NamingException</CODE> - if a naming exception is encountered</DL>
</DD>
</DL>
<HR>

<A NAME="bind(javax.naming.Name, java.lang.Object)"><!-- --></A><H3>
bind</H3>
<PRE>
public void <B>bind</B>(javax.naming.Name&nbsp;name,
                 java.lang.Object&nbsp;obj)
          throws javax.naming.NamingException</PRE>
<DL>
<DD>Binds a name to an object. All intermediate contexts and the target 
 context (that named by all but terminal atomic component of the name) 
 must already exist.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>bind</CODE> in interface <CODE>javax.naming.Context</CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name to bind; may not be empty<DD><CODE>obj</CODE> - the object to bind; possibly null
<DT><B>Throws:</B>
<DD><CODE>NameAlreadyBoundException</CODE> - if name is already bound
<DD><CODE>InvalidAttributesException</CODE> - if object did not supply all 
 mandatory attributes
<DD><CODE>javax.naming.NamingException</CODE> - if a naming exception is encountered</DL>
</DD>
</DL>
<HR>

<A NAME="bind(java.lang.String, java.lang.Object)"><!-- --></A><H3>
bind</H3>
<PRE>
public void <B>bind</B>(java.lang.String&nbsp;name,
                 java.lang.Object&nbsp;obj)
          throws javax.naming.NamingException</PRE>
<DL>
<DD>Binds a name to an object.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>bind</CODE> in interface <CODE>javax.naming.Context</CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name to bind; may not be empty<DD><CODE>obj</CODE> - the object to bind; possibly null
<DT><B>Throws:</B>
<DD><CODE>NameAlreadyBoundException</CODE> - if name is already bound
<DD><CODE>InvalidAttributesException</CODE> - if object did not supply all 
 mandatory attributes
<DD><CODE>javax.naming.NamingException</CODE> - if a naming exception is encountered</DL>
</DD>
</DL>
<HR>

<A NAME="rebind(javax.naming.Name, java.lang.Object)"><!-- --></A><H3>
rebind</H3>
<PRE>
public void <B>rebind</B>(javax.naming.Name&nbsp;name,
                   java.lang.Object&nbsp;obj)
            throws javax.naming.NamingException</PRE>
<DL>
<DD>Binds a name to an object, overwriting any existing binding. All 
 intermediate contexts and the target context (that named by all but 
 terminal atomic component of the name) must already exist.
 <p>
 If the object is a DirContext, any existing attributes associated with 
 the name are replaced with those of the object. Otherwise, any 
 existing attributes associated with the name remain unchanged.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>rebind</CODE> in interface <CODE>javax.naming.Context</CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name to bind; may not be empty<DD><CODE>obj</CODE> - the object to bind; possibly null
<DT><B>Throws:</B>
<DD><CODE>InvalidAttributesException</CODE> - if object did not supply all 
 mandatory attributes
<DD><CODE>javax.naming.NamingException</CODE> - if a naming exception is encountered</DL>
</DD>
</DL>
<HR>

<A NAME="rebind(java.lang.String, java.lang.Object)"><!-- --></A><H3>
rebind</H3>
<PRE>
public void <B>rebind</B>(java.lang.String&nbsp;name,
                   java.lang.Object&nbsp;obj)
            throws javax.naming.NamingException</PRE>
<DL>
<DD>Binds a name to an object, overwriting any existing binding.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>rebind</CODE> in interface <CODE>javax.naming.Context</CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name to bind; may not be empty<DD><CODE>obj</CODE> - the object to bind; possibly null
<DT><B>Throws:</B>
<DD><CODE>InvalidAttributesException</CODE> - if object did not supply all 
 mandatory attributes
<DD><CODE>javax.naming.NamingException</CODE> - if a naming exception is encountered</DL>
</DD>
</DL>
<HR>

<A NAME="unbind(javax.naming.Name)"><!-- --></A><H3>
unbind</H3>
<PRE>
public void <B>unbind</B>(javax.naming.Name&nbsp;name)
            throws javax.naming.NamingException</PRE>
<DL>
<DD>Unbinds the named object. Removes the terminal atomic name in name 
 from the target context--that named by all but the terminal atomic 
 part of name.
 <p>
 This method is idempotent. It succeeds even if the terminal atomic 
 name is not bound in the target context, but throws 
 NameNotFoundException if any of the intermediate contexts do not exist.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>unbind</CODE> in interface <CODE>javax.naming.Context</CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name to bind; may not be empty
<DT><B>Throws:</B>
<DD><CODE>NameNotFoundException</CODE> - if an intermediate context does not 
 exist
<DD><CODE>javax.naming.NamingException</CODE> - if a naming exception is encountered</DL>
</DD>
</DL>
<HR>

<A NAME="unbind(java.lang.String)"><!-- --></A><H3>
unbind</H3>
<PRE>
public abstract void <B>unbind</B>(java.lang.String&nbsp;name)
                     throws javax.naming.NamingException</PRE>
<DL>
<DD>Unbinds the named object.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>unbind</CODE> in interface <CODE>javax.naming.Context</CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name to bind; may not be empty
<DT><B>Throws:</B>
<DD><CODE>NameNotFoundException</CODE> - if an intermediate context does not 
 exist
<DD><CODE>javax.naming.NamingException</CODE> - if a naming exception is encountered</DL>
</DD>
</DL>
<HR>

<A NAME="rename(javax.naming.Name, javax.naming.Name)"><!-- --></A><H3>
rename</H3>
<PRE>
public void <B>rename</B>(javax.naming.Name&nbsp;oldName,
                   javax.naming.Name&nbsp;newName)
            throws javax.naming.NamingException</PRE>
<DL>
<DD>Binds a new name to the object bound to an old name, and unbinds the 
 old name. Both names are relative to this context. Any attributes 
 associated with the old name become associated with the new name. 
 Intermediate contexts of the old name are not changed.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>rename</CODE> in interface <CODE>javax.naming.Context</CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>oldName</CODE> - the name of the existing binding; may not be empty<DD><CODE>newName</CODE> - the name of the new binding; may not be empty
<DT><B>Throws:</B>
<DD><CODE>NameAlreadyBoundException</CODE> - if newName is already bound
<DD><CODE>javax.naming.NamingException</CODE> - if a naming exception is encountered</DL>
</DD>
</DL>
<HR>

<A NAME="rename(java.lang.String, java.lang.String)"><!-- --></A><H3>
rename</H3>
<PRE>
public abstract void <B>rename</B>(java.lang.String&nbsp;oldName,
                            java.lang.String&nbsp;newName)
                     throws javax.naming.NamingException</PRE>
<DL>
<DD>Binds a new name to the object bound to an old name, and unbinds the 
 old name.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>rename</CODE> in interface <CODE>javax.naming.Context</CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>oldName</CODE> - the name of the existing binding; may not be empty<DD><CODE>newName</CODE> - the name of the new binding; may not be empty
<DT><B>Throws:</B>
<DD><CODE>NameAlreadyBoundException</CODE> - if newName is already bound
<DD><CODE>javax.naming.NamingException</CODE> - if a naming exception is encountered</DL>
</DD>
</DL>
<HR>

<A NAME="list(javax.naming.Name)"><!-- --></A><H3>
list</H3>
<PRE>
public javax.naming.NamingEnumeration <B>list</B>(javax.naming.Name&nbsp;name)
                                    throws javax.naming.NamingException</PRE>
<DL>
<DD>Enumerates the names bound in the named context, along with the class 
 names of objects bound to them. The contents of any subcontexts are 
 not included.
 <p>
 If a binding is added to or removed from this context, its effect on 
 an enumeration previously returned is undefined.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>list</CODE> in interface <CODE>javax.naming.Context</CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the context to list
<DT><B>Returns:</B><DD>an enumeration of the names and class names of the bindings in 
 this context. Each element of the enumeration is of type NameClassPair.
<DT><B>Throws:</B>
<DD><CODE>javax.naming.NamingException</CODE> - if a naming exception is encountered</DL>
</DD>
</DL>
<HR>

<A NAME="list(java.lang.String)"><!-- --></A><H3>
list</H3>
<PRE>
public abstract javax.naming.NamingEnumeration <B>list</B>(java.lang.String&nbsp;name)
                                             throws javax.naming.NamingException</PRE>
<DL>
<DD>Enumerates the names bound in the named context, along with the class 
 names of objects bound to them.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>list</CODE> in interface <CODE>javax.naming.Context</CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the context to list
<DT><B>Returns:</B><DD>an enumeration of the names and class names of the bindings in 
 this context. Each element of the enumeration is of type NameClassPair.
<DT><B>Throws:</B>
<DD><CODE>javax.naming.NamingException</CODE> - if a naming exception is encountered</DL>
</DD>
</DL>
<HR>

<A NAME="listBindings(javax.naming.Name)"><!-- --></A><H3>
listBindings</H3>
<PRE>
public javax.naming.NamingEnumeration <B>listBindings</B>(javax.naming.Name&nbsp;name)
                                            throws javax.naming.NamingException</PRE>
<DL>
<DD>Enumerates the names bound in the named context, along with the 
 objects bound to them. The contents of any subcontexts are not 
 included.
 <p>
 If a binding is added to or removed from this context, its effect on 
 an enumeration previously returned is undefined.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>listBindings</CODE> in interface <CODE>javax.naming.Context</CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the context to list
<DT><B>Returns:</B><DD>an enumeration of the bindings in this context. 
 Each element of the enumeration is of type Binding.
<DT><B>Throws:</B>
<DD><CODE>javax.naming.NamingException</CODE> - if a naming exception is encountered</DL>
</DD>
</DL>
<HR>

<A NAME="listBindings(java.lang.String)"><!-- --></A><H3>
listBindings</H3>
<PRE>
public abstract javax.naming.NamingEnumeration <B>listBindings</B>(java.lang.String&nbsp;name)
                                                     throws javax.naming.NamingException</PRE>
<DL>
<DD>Enumerates the names bound in the named context, along with the 
 objects bound to them.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>listBindings</CODE> in interface <CODE>javax.naming.Context</CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the context to list
<DT><B>Returns:</B><DD>an enumeration of the bindings in this context. 
 Each element of the enumeration is of type Binding.
<DT><B>Throws:</B>
<DD><CODE>javax.naming.NamingException</CODE> - if a naming exception is encountered</DL>
</DD>
</DL>
<HR>

<A NAME="destroySubcontext(javax.naming.Name)"><!-- --></A><H3>
destroySubcontext</H3>
<PRE>
public void <B>destroySubcontext</B>(javax.naming.Name&nbsp;name)
                       throws javax.naming.NamingException</PRE>
<DL>
<DD>Destroys the named context and removes it from the namespace. Any 
 attributes associated with the name are also removed. Intermediate 
 contexts are not destroyed.
 <p>
 This method is idempotent. It succeeds even if the terminal atomic 
 name is not bound in the target context, but throws 
 NameNotFoundException if any of the intermediate contexts do not exist. 
 
 In a federated naming system, a context from one naming system may be 
 bound to a name in another. One can subsequently look up and perform 
 operations on the foreign context using a composite name. However, an 
 attempt destroy the context using this composite name will fail with 
 NotContextException, because the foreign context is not a "subcontext" 
 of the context in which it is bound. Instead, use unbind() to remove 
 the binding of the foreign context. Destroying the foreign context 
 requires that the destroySubcontext() be performed on a context from 
 the foreign context's "native" naming system.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>destroySubcontext</CODE> in interface <CODE>javax.naming.Context</CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the context to be destroyed; may not be empty
<DT><B>Throws:</B>
<DD><CODE>NameNotFoundException</CODE> - if an intermediate context does not 
 exist
<DD><CODE>NotContextException</CODE> - if the name is bound but does not name 
 a context, or does not name a context of the appropriate type
<DD><CODE>javax.naming.NamingException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="destroySubcontext(java.lang.String)"><!-- --></A><H3>
destroySubcontext</H3>
<PRE>
public abstract void <B>destroySubcontext</B>(java.lang.String&nbsp;name)
                                throws javax.naming.NamingException</PRE>
<DL>
<DD>Destroys the named context and removes it from the namespace.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>destroySubcontext</CODE> in interface <CODE>javax.naming.Context</CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the context to be destroyed; may not be empty
<DT><B>Throws:</B>
<DD><CODE>NameNotFoundException</CODE> - if an intermediate context does not 
 exist
<DD><CODE>NotContextException</CODE> - if the name is bound but does not name 
 a context, or does not name a context of the appropriate type
<DD><CODE>javax.naming.NamingException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="createSubcontext(javax.naming.Name)"><!-- --></A><H3>
createSubcontext</H3>
<PRE>
public javax.naming.Context <B>createSubcontext</B>(javax.naming.Name&nbsp;name)
                                      throws javax.naming.NamingException</PRE>
<DL>
<DD>Creates and binds a new context. Creates a new context with the given 
 name and binds it in the target context (that named by all but 
 terminal atomic component of the name). All intermediate contexts and 
 the target context must already exist.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>createSubcontext</CODE> in interface <CODE>javax.naming.Context</CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the context to create; may not be empty
<DT><B>Returns:</B><DD>the newly created context
<DT><B>Throws:</B>
<DD><CODE>NameAlreadyBoundException</CODE> - if name is already bound
<DD><CODE>InvalidAttributesException</CODE> - if creation of the subcontext 
 requires specification of mandatory attributes
<DD><CODE>javax.naming.NamingException</CODE> - if a naming exception is encountered</DL>
</DD>
</DL>
<HR>

<A NAME="createSubcontext(java.lang.String)"><!-- --></A><H3>
createSubcontext</H3>
<PRE>
public javax.naming.Context <B>createSubcontext</B>(java.lang.String&nbsp;name)
                                      throws javax.naming.NamingException</PRE>
<DL>
<DD>Creates and binds a new context.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>createSubcontext</CODE> in interface <CODE>javax.naming.Context</CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the context to create; may not be empty
<DT><B>Returns:</B><DD>the newly created context
<DT><B>Throws:</B>
<DD><CODE>NameAlreadyBoundException</CODE> - if name is already bound
<DD><CODE>InvalidAttributesException</CODE> - if creation of the subcontext 
 requires specification of mandatory attributes
<DD><CODE>javax.naming.NamingException</CODE> - if a naming exception is encountered</DL>
</DD>
</DL>
<HR>

<A NAME="lookupLink(javax.naming.Name)"><!-- --></A><H3>
lookupLink</H3>
<PRE>
public java.lang.Object <B>lookupLink</B>(javax.naming.Name&nbsp;name)
                            throws javax.naming.NamingException</PRE>
<DL>
<DD>Retrieves the named object, following links except for the terminal 
 atomic component of the name. If the object bound to name is not a 
 link, returns the object itself.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>lookupLink</CODE> in interface <CODE>javax.naming.Context</CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the object to look up
<DT><B>Returns:</B><DD>the object bound to name, not following the terminal link 
 (if any).
<DT><B>Throws:</B>
<DD><CODE>javax.naming.NamingException</CODE> - if a naming exception is encountered</DL>
</DD>
</DL>
<HR>

<A NAME="lookupLink(java.lang.String)"><!-- --></A><H3>
lookupLink</H3>
<PRE>
public abstract java.lang.Object <B>lookupLink</B>(java.lang.String&nbsp;name)
                                     throws javax.naming.NamingException</PRE>
<DL>
<DD>Retrieves the named object, following links except for the terminal 
 atomic component of the name.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>lookupLink</CODE> in interface <CODE>javax.naming.Context</CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the object to look up
<DT><B>Returns:</B><DD>the object bound to name, not following the terminal link 
 (if any).
<DT><B>Throws:</B>
<DD><CODE>javax.naming.NamingException</CODE> - if a naming exception is encountered</DL>
</DD>
</DL>
<HR>

<A NAME="getNameParser(javax.naming.Name)"><!-- --></A><H3>
getNameParser</H3>
<PRE>
public javax.naming.NameParser <B>getNameParser</B>(javax.naming.Name&nbsp;name)
                                      throws javax.naming.NamingException</PRE>
<DL>
<DD>Retrieves the parser associated with the named context. In a 
 federation of namespaces, different naming systems will parse names 
 differently. This method allows an application to get a parser for 
 parsing names into their atomic components using the naming convention 
 of a particular naming system. Within any single naming system, 
 NameParser objects returned by this method must be equal (using the 
 equals() test).
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>getNameParser</CODE> in interface <CODE>javax.naming.Context</CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the context from which to get the parser
<DT><B>Returns:</B><DD>a name parser that can parse compound names into their atomic 
 components
<DT><B>Throws:</B>
<DD><CODE>javax.naming.NamingException</CODE> - if a naming exception is encountered</DL>
</DD>
</DL>
<HR>

<A NAME="getNameParser(java.lang.String)"><!-- --></A><H3>
getNameParser</H3>
<PRE>
public javax.naming.NameParser <B>getNameParser</B>(java.lang.String&nbsp;name)
                                      throws javax.naming.NamingException</PRE>
<DL>
<DD>Retrieves the parser associated with the named context.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>getNameParser</CODE> in interface <CODE>javax.naming.Context</CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the context from which to get the parser
<DT><B>Returns:</B><DD>a name parser that can parse compound names into their atomic 
 components
<DT><B>Throws:</B>
<DD><CODE>javax.naming.NamingException</CODE> - if a naming exception is encountered</DL>
</DD>
</DL>
<HR>

<A NAME="composeName(javax.naming.Name, javax.naming.Name)"><!-- --></A><H3>
composeName</H3>
<PRE>
public javax.naming.Name <B>composeName</B>(javax.naming.Name&nbsp;name,
                                     javax.naming.Name&nbsp;prefix)
                              throws javax.naming.NamingException</PRE>
<DL>
<DD>Composes the name of this context with a name relative to this context.
 <p>
 Given a name (name) relative to this context, and the name (prefix) 
 of this context relative to one of its ancestors, this method returns 
 the composition of the two names using the syntax appropriate for the 
 naming system(s) involved. That is, if name names an object relative 
 to this context, the result is the name of the same object, but 
 relative to the ancestor context. None of the names may be null.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>composeName</CODE> in interface <CODE>javax.naming.Context</CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - a name relative to this context<DD><CODE>prefix</CODE> - the name of this context relative to one of its ancestors
<DT><B>Returns:</B><DD>the composition of prefix and name
<DT><B>Throws:</B>
<DD><CODE>javax.naming.NamingException</CODE> - if a naming exception is encountered</DL>
</DD>
</DL>
<HR>

<A NAME="composeName(java.lang.String, java.lang.String)"><!-- --></A><H3>
composeName</H3>
<PRE>
public java.lang.String <B>composeName</B>(java.lang.String&nbsp;name,
                                    java.lang.String&nbsp;prefix)
                             throws javax.naming.NamingException</PRE>
<DL>
<DD>Composes the name of this context with a name relative to this context.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>composeName</CODE> in interface <CODE>javax.naming.Context</CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - a name relative to this context<DD><CODE>prefix</CODE> - the name of this context relative to one of its ancestors
<DT><B>Returns:</B><DD>the composition of prefix and name
<DT><B>Throws:</B>
<DD><CODE>javax.naming.NamingException</CODE> - if a naming exception is encountered</DL>
</DD>
</DL>
<HR>

<A NAME="addToEnvironment(java.lang.String, java.lang.Object)"><!-- --></A><H3>
addToEnvironment</H3>
<PRE>
public java.lang.Object <B>addToEnvironment</B>(java.lang.String&nbsp;propName,
                                         java.lang.Object&nbsp;propVal)
                                  throws javax.naming.NamingException</PRE>
<DL>
<DD>Adds a new environment property to the environment of this context. If 
 the property already exists, its value is overwritten.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>addToEnvironment</CODE> in interface <CODE>javax.naming.Context</CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>propName</CODE> - the name of the environment property to add; may not 
 be null<DD><CODE>propVal</CODE> - the value of the property to add; may not be null
<DT><B>Throws:</B>
<DD><CODE>javax.naming.NamingException</CODE> - if a naming exception is encountered</DL>
</DD>
</DL>
<HR>

<A NAME="removeFromEnvironment(java.lang.String)"><!-- --></A><H3>
removeFromEnvironment</H3>
<PRE>
public java.lang.Object <B>removeFromEnvironment</B>(java.lang.String&nbsp;propName)
                                       throws javax.naming.NamingException</PRE>
<DL>
<DD>Removes an environment property from the environment of this context.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>removeFromEnvironment</CODE> in interface <CODE>javax.naming.Context</CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>propName</CODE> - the name of the environment property to remove; 
 may not be null
<DT><B>Throws:</B>
<DD><CODE>javax.naming.NamingException</CODE> - if a naming exception is encountered</DL>
</DD>
</DL>
<HR>

<A NAME="getEnvironment()"><!-- --></A><H3>
getEnvironment</H3>
<PRE>
public java.util.Hashtable <B>getEnvironment</B>()
                                   throws javax.naming.NamingException</PRE>
<DL>
<DD>Retrieves the environment in effect for this context. See class 
 description for more details on environment properties. 
 The caller should not make any changes to the object returned: their 
 effect on the context is undefined. The environment of this context 
 may be changed using addToEnvironment() and removeFromEnvironment().
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>getEnvironment</CODE> in interface <CODE>javax.naming.Context</CODE></DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>the environment of this context; never null
<DT><B>Throws:</B>
<DD><CODE>javax.naming.NamingException</CODE> - if a naming exception is encountered</DL>
</DD>
</DL>
<HR>

<A NAME="close()"><!-- --></A><H3>
close</H3>
<PRE>
public void <B>close</B>()
           throws javax.naming.NamingException</PRE>
<DL>
<DD>Closes this context. This method releases this context's resources 
 immediately, instead of waiting for them to be released automatically 
 by the garbage collector.
 This method is idempotent: invoking it on a context that has already 
 been closed has no effect. Invoking any other method on a closed 
 context is not allowed, and results in undefined behaviour.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>close</CODE> in interface <CODE>javax.naming.Context</CODE></DL>
</DD>
<DD><DL>

<DT><B>Throws:</B>
<DD><CODE>javax.naming.NamingException</CODE> - if a naming exception is encountered</DL>
</DD>
</DL>
<HR>

<A NAME="getNameInNamespace()"><!-- --></A><H3>
getNameInNamespace</H3>
<PRE>
public abstract java.lang.String <B>getNameInNamespace</B>()
                                             throws javax.naming.NamingException</PRE>
<DL>
<DD>Retrieves the full name of this context within its own namespace.
 <p>
 Many naming services have a notion of a "full name" for objects in 
 their respective namespaces. For example, an LDAP entry has a 
 distinguished name, and a DNS record has a fully qualified name. This 
 method allows the client application to retrieve this name. The string 
 returned by this method is not a JNDI composite name and should not be 
 passed directly to context methods. In naming systems for which the 
 notion of full name does not make sense, 
 OperationNotSupportedException is thrown.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>getNameInNamespace</CODE> in interface <CODE>javax.naming.Context</CODE></DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>this context's name in its own namespace; never null
<DT><B>Throws:</B>
<DD><CODE>OperationNotSupportedException</CODE> - if the naming system does 
 not have the notion of a full name
<DD><CODE>javax.naming.NamingException</CODE> - if a naming exception is encountered</DL>
</DD>
</DL>
<HR>

<A NAME="getAttributes(javax.naming.Name)"><!-- --></A><H3>
getAttributes</H3>
<PRE>
public javax.naming.directory.Attributes <B>getAttributes</B>(javax.naming.Name&nbsp;name)
                                                throws javax.naming.NamingException</PRE>
<DL>
<DD>Retrieves all of the attributes associated with a named object.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>getAttributes</CODE> in interface <CODE>javax.naming.directory.DirContext</CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the object from which to retrieve attributes
<DT><B>Returns:</B><DD>the set of attributes associated with name. 
 Returns an empty attribute set if name has no attributes; never null.
<DT><B>Throws:</B>
<DD><CODE>javax.naming.NamingException</CODE> - if a naming exception is encountered</DL>
</DD>
</DL>
<HR>

<A NAME="getAttributes(java.lang.String)"><!-- --></A><H3>
getAttributes</H3>
<PRE>
public javax.naming.directory.Attributes <B>getAttributes</B>(java.lang.String&nbsp;name)
                                                throws javax.naming.NamingException</PRE>
<DL>
<DD>Retrieves all of the attributes associated with a named object.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>getAttributes</CODE> in interface <CODE>javax.naming.directory.DirContext</CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the object from which to retrieve attributes
<DT><B>Returns:</B><DD>the set of attributes associated with name
<DT><B>Throws:</B>
<DD><CODE>javax.naming.NamingException</CODE> - if a naming exception is encountered</DL>
</DD>
</DL>
<HR>

<A NAME="getAttributes(javax.naming.Name, java.lang.String[])"><!-- --></A><H3>
getAttributes</H3>
<PRE>
public javax.naming.directory.Attributes <B>getAttributes</B>(javax.naming.Name&nbsp;name,
                                                       java.lang.String[]&nbsp;attrIds)
                                                throws javax.naming.NamingException</PRE>
<DL>
<DD>Retrieves selected attributes associated with a named object. 
 See the class description regarding attribute models, attribute type 
 names, and operational attributes.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>getAttributes</CODE> in interface <CODE>javax.naming.directory.DirContext</CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the object from which to retrieve attributes<DD><CODE>attrIds</CODE> - the identifiers of the attributes to retrieve. null 
 indicates that all attributes should be retrieved; an empty array 
 indicates that none should be retrieved
<DT><B>Returns:</B><DD>the requested attributes; never null
<DT><B>Throws:</B>
<DD><CODE>javax.naming.NamingException</CODE> - if a naming exception is encountered</DL>
</DD>
</DL>
<HR>

<A NAME="getAttributes(java.lang.String, java.lang.String[])"><!-- --></A><H3>
getAttributes</H3>
<PRE>
public abstract javax.naming.directory.Attributes <B>getAttributes</B>(java.lang.String&nbsp;name,
                                                                java.lang.String[]&nbsp;attrIds)
                                                         throws javax.naming.NamingException</PRE>
<DL>
<DD>Retrieves selected attributes associated with a named object.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>getAttributes</CODE> in interface <CODE>javax.naming.directory.DirContext</CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the object from which to retrieve attributes<DD><CODE>attrIds</CODE> - the identifiers of the attributes to retrieve. null 
 indicates that all attributes should be retrieved; an empty array 
 indicates that none should be retrieved
<DT><B>Returns:</B><DD>the requested attributes; never null
<DT><B>Throws:</B>
<DD><CODE>javax.naming.NamingException</CODE> - if a naming exception is encountered</DL>
</DD>
</DL>
<HR>

<A NAME="modifyAttributes(javax.naming.Name, int, javax.naming.directory.Attributes)"><!-- --></A><H3>
modifyAttributes</H3>
<PRE>
public void <B>modifyAttributes</B>(javax.naming.Name&nbsp;name,
                             int&nbsp;mod_op,
                             javax.naming.directory.Attributes&nbsp;attrs)
                      throws javax.naming.NamingException</PRE>
<DL>
<DD>Modifies the attributes associated with a named object. The order of 
 the modifications is not specified. Where possible, the modifications 
 are performed atomically.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>modifyAttributes</CODE> in interface <CODE>javax.naming.directory.DirContext</CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the object whose attributes will be updated<DD><CODE>mod_op</CODE> - the modification operation, one of: ADD_ATTRIBUTE, 
 REPLACE_ATTRIBUTE, REMOVE_ATTRIBUTE<DD><CODE>attrs</CODE> - the attributes to be used for the modification; may not 
 be null
<DT><B>Throws:</B>
<DD><CODE>AttributeModificationException</CODE> - if the modification cannot be
 completed successfully
<DD><CODE>javax.naming.NamingException</CODE> - if a naming exception is encountered</DL>
</DD>
</DL>
<HR>

<A NAME="modifyAttributes(java.lang.String, int, javax.naming.directory.Attributes)"><!-- --></A><H3>
modifyAttributes</H3>
<PRE>
public abstract void <B>modifyAttributes</B>(java.lang.String&nbsp;name,
                                      int&nbsp;mod_op,
                                      javax.naming.directory.Attributes&nbsp;attrs)
                               throws javax.naming.NamingException</PRE>
<DL>
<DD>Modifies the attributes associated with a named object.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>modifyAttributes</CODE> in interface <CODE>javax.naming.directory.DirContext</CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the object whose attributes will be updated<DD><CODE>mod_op</CODE> - the modification operation, one of: ADD_ATTRIBUTE, 
 REPLACE_ATTRIBUTE, REMOVE_ATTRIBUTE<DD><CODE>attrs</CODE> - the attributes to be used for the modification; may not 
 be null
<DT><B>Throws:</B>
<DD><CODE>AttributeModificationException</CODE> - if the modification cannot be
 completed successfully
<DD><CODE>javax.naming.NamingException</CODE> - if a naming exception is encountered</DL>
</DD>
</DL>
<HR>

<A NAME="modifyAttributes(javax.naming.Name, javax.naming.directory.ModificationItem[])"><!-- --></A><H3>
modifyAttributes</H3>
<PRE>
public void <B>modifyAttributes</B>(javax.naming.Name&nbsp;name,
                             javax.naming.directory.ModificationItem[]&nbsp;mods)
                      throws javax.naming.NamingException</PRE>
<DL>
<DD>Modifies the attributes associated with a named object using an an 
 ordered list of modifications. The modifications are performed in the 
 order specified. Each modification specifies a modification operation 
 code and an attribute on which to operate. Where possible, the 
 modifications are performed atomically.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>modifyAttributes</CODE> in interface <CODE>javax.naming.directory.DirContext</CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the object whose attributes will be updated<DD><CODE>mods</CODE> - an ordered sequence of modifications to be performed; may 
 not be null
<DT><B>Throws:</B>
<DD><CODE>AttributeModificationException</CODE> - if the modification cannot be
 completed successfully
<DD><CODE>javax.naming.NamingException</CODE> - if a naming exception is encountered</DL>
</DD>
</DL>
<HR>

<A NAME="modifyAttributes(java.lang.String, javax.naming.directory.ModificationItem[])"><!-- --></A><H3>
modifyAttributes</H3>
<PRE>
public abstract void <B>modifyAttributes</B>(java.lang.String&nbsp;name,
                                      javax.naming.directory.ModificationItem[]&nbsp;mods)
                               throws javax.naming.NamingException</PRE>
<DL>
<DD>Modifies the attributes associated with a named object using an an 
 ordered list of modifications.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>modifyAttributes</CODE> in interface <CODE>javax.naming.directory.DirContext</CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the object whose attributes will be updated<DD><CODE>mods</CODE> - an ordered sequence of modifications to be performed; may 
 not be null
<DT><B>Throws:</B>
<DD><CODE>AttributeModificationException</CODE> - if the modification cannot be
 completed successfully
<DD><CODE>javax.naming.NamingException</CODE> - if a naming exception is encountered</DL>
</DD>
</DL>
<HR>

<A NAME="bind(javax.naming.Name, java.lang.Object, javax.naming.directory.Attributes)"><!-- --></A><H3>
bind</H3>
<PRE>
public void <B>bind</B>(javax.naming.Name&nbsp;name,
                 java.lang.Object&nbsp;obj,
                 javax.naming.directory.Attributes&nbsp;attrs)
          throws javax.naming.NamingException</PRE>
<DL>
<DD>Binds a name to an object, along with associated attributes. If attrs 
 is null, the resulting binding will have the attributes associated 
 with obj if obj is a DirContext, and no attributes otherwise. If attrs 
 is non-null, the resulting binding will have attrs as its attributes; 
 any attributes associated with obj are ignored.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>bind</CODE> in interface <CODE>javax.naming.directory.DirContext</CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name to bind; may not be empty<DD><CODE>obj</CODE> - the object to bind; possibly null<DD><CODE>attrs</CODE> - the attributes to associate with the binding
<DT><B>Throws:</B>
<DD><CODE>NameAlreadyBoundException</CODE> - if name is already bound
<DD><CODE>InvalidAttributesException</CODE> - if some "mandatory" attributes 
 of the binding are not supplied
<DD><CODE>javax.naming.NamingException</CODE> - if a naming exception is encountered</DL>
</DD>
</DL>
<HR>

<A NAME="bind(java.lang.String, java.lang.Object, javax.naming.directory.Attributes)"><!-- --></A><H3>
bind</H3>
<PRE>
public abstract void <B>bind</B>(java.lang.String&nbsp;name,
                          java.lang.Object&nbsp;obj,
                          javax.naming.directory.Attributes&nbsp;attrs)
                   throws javax.naming.NamingException</PRE>
<DL>
<DD>Binds a name to an object, along with associated attributes.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>bind</CODE> in interface <CODE>javax.naming.directory.DirContext</CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name to bind; may not be empty<DD><CODE>obj</CODE> - the object to bind; possibly null<DD><CODE>attrs</CODE> - the attributes to associate with the binding
<DT><B>Throws:</B>
<DD><CODE>NameAlreadyBoundException</CODE> - if name is already bound
<DD><CODE>InvalidAttributesException</CODE> - if some "mandatory" attributes 
 of the binding are not supplied
<DD><CODE>javax.naming.NamingException</CODE> - if a naming exception is encountered</DL>
</DD>
</DL>
<HR>

<A NAME="rebind(javax.naming.Name, java.lang.Object, javax.naming.directory.Attributes)"><!-- --></A><H3>
rebind</H3>
<PRE>
public void <B>rebind</B>(javax.naming.Name&nbsp;name,
                   java.lang.Object&nbsp;obj,
                   javax.naming.directory.Attributes&nbsp;attrs)
            throws javax.naming.NamingException</PRE>
<DL>
<DD>Binds a name to an object, along with associated attributes, 
 overwriting any existing binding. If attrs is null and obj is a 
 DirContext, the attributes from obj are used. If attrs is null and obj 
 is not a DirContext, any existing attributes associated with the object
 already bound in the directory remain unchanged. If attrs is non-null, 
 any existing attributes associated with the object already bound in 
 the directory are removed and attrs is associated with the named 
 object. If obj is a DirContext and attrs is non-null, the attributes 
 of obj are ignored.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>rebind</CODE> in interface <CODE>javax.naming.directory.DirContext</CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name to bind; may not be empty<DD><CODE>obj</CODE> - the object to bind; possibly null<DD><CODE>attrs</CODE> - the attributes to associate with the binding
<DT><B>Throws:</B>
<DD><CODE>InvalidAttributesException</CODE> - if some "mandatory" attributes 
 of the binding are not supplied
<DD><CODE>javax.naming.NamingException</CODE> - if a naming exception is encountered</DL>
</DD>
</DL>
<HR>

<A NAME="rebind(java.lang.String, java.lang.Object, javax.naming.directory.Attributes)"><!-- --></A><H3>
rebind</H3>
<PRE>
public abstract void <B>rebind</B>(java.lang.String&nbsp;name,
                            java.lang.Object&nbsp;obj,
                            javax.naming.directory.Attributes&nbsp;attrs)
                     throws javax.naming.NamingException</PRE>
<DL>
<DD>Binds a name to an object, along with associated attributes, 
 overwriting any existing binding.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>rebind</CODE> in interface <CODE>javax.naming.directory.DirContext</CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name to bind; may not be empty<DD><CODE>obj</CODE> - the object to bind; possibly null<DD><CODE>attrs</CODE> - the attributes to associate with the binding
<DT><B>Throws:</B>
<DD><CODE>InvalidAttributesException</CODE> - if some "mandatory" attributes 
 of the binding are not supplied
<DD><CODE>javax.naming.NamingException</CODE> - if a naming exception is encountered</DL>
</DD>
</DL>
<HR>

<A NAME="createSubcontext(javax.naming.Name, javax.naming.directory.Attributes)"><!-- --></A><H3>
createSubcontext</H3>
<PRE>
public javax.naming.directory.DirContext <B>createSubcontext</B>(javax.naming.Name&nbsp;name,
                                                          javax.naming.directory.Attributes&nbsp;attrs)
                                                   throws javax.naming.NamingException</PRE>
<DL>
<DD>Creates and binds a new context, along with associated attributes. 
 This method creates a new subcontext with the given name, binds it in 
 the target context (that named by all but terminal atomic component of 
 the name), and associates the supplied attributes with the newly 
 created object. All intermediate and target contexts must already 
 exist. If attrs is null, this method is equivalent to 
 Context.createSubcontext().
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>createSubcontext</CODE> in interface <CODE>javax.naming.directory.DirContext</CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the context to create; may not be empty<DD><CODE>attrs</CODE> - the attributes to associate with the newly created context
<DT><B>Returns:</B><DD>the newly created context
<DT><B>Throws:</B>
<DD><CODE>NameAlreadyBoundException</CODE> - if the name is already bound
<DD><CODE>InvalidAttributesException</CODE> - if attrs does not contain all 
 the mandatory attributes required for creation
<DD><CODE>javax.naming.NamingException</CODE> - if a naming exception is encountered</DL>
</DD>
</DL>
<HR>

<A NAME="createSubcontext(java.lang.String, javax.naming.directory.Attributes)"><!-- --></A><H3>
createSubcontext</H3>
<PRE>
public abstract javax.naming.directory.DirContext <B>createSubcontext</B>(java.lang.String&nbsp;name,
                                                                   javax.naming.directory.Attributes&nbsp;attrs)
                                                            throws javax.naming.NamingException</PRE>
<DL>
<DD>Creates and binds a new context, along with associated attributes.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>createSubcontext</CODE> in interface <CODE>javax.naming.directory.DirContext</CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the context to create; may not be empty<DD><CODE>attrs</CODE> - the attributes to associate with the newly created context
<DT><B>Returns:</B><DD>the newly created context
<DT><B>Throws:</B>
<DD><CODE>NameAlreadyBoundException</CODE> - if the name is already bound
<DD><CODE>InvalidAttributesException</CODE> - if attrs does not contain all 
 the mandatory attributes required for creation
<DD><CODE>javax.naming.NamingException</CODE> - if a naming exception is encountered</DL>
</DD>
</DL>
<HR>

<A NAME="getSchema(javax.naming.Name)"><!-- --></A><H3>
getSchema</H3>
<PRE>
public javax.naming.directory.DirContext <B>getSchema</B>(javax.naming.Name&nbsp;name)
                                            throws javax.naming.NamingException</PRE>
<DL>
<DD>Retrieves the schema associated with the named object. The schema 
 describes rules regarding the structure of the namespace and the 
 attributes stored within it. The schema specifies what types of 
 objects can be added to the directory and where they can be added; 
 what mandatory and optional attributes an object can have. The range 
 of support for schemas is directory-specific.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>getSchema</CODE> in interface <CODE>javax.naming.directory.DirContext</CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the object whose schema is to be retrieved
<DT><B>Returns:</B><DD>the schema associated with the context; never null
<DT><B>Throws:</B>
<DD><CODE>OperationNotSupportedException</CODE> - if schema not supported
<DD><CODE>javax.naming.NamingException</CODE> - if a naming exception is encountered</DL>
</DD>
</DL>
<HR>

<A NAME="getSchema(java.lang.String)"><!-- --></A><H3>
getSchema</H3>
<PRE>
public abstract javax.naming.directory.DirContext <B>getSchema</B>(java.lang.String&nbsp;name)
                                                     throws javax.naming.NamingException</PRE>
<DL>
<DD>Retrieves the schema associated with the named object.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>getSchema</CODE> in interface <CODE>javax.naming.directory.DirContext</CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the object whose schema is to be retrieved
<DT><B>Returns:</B><DD>the schema associated with the context; never null
<DT><B>Throws:</B>
<DD><CODE>OperationNotSupportedException</CODE> - if schema not supported
<DD><CODE>javax.naming.NamingException</CODE> - if a naming exception is encountered</DL>
</DD>
</DL>
<HR>

<A NAME="getSchemaClassDefinition(javax.naming.Name)"><!-- --></A><H3>
getSchemaClassDefinition</H3>
<PRE>
public javax.naming.directory.DirContext <B>getSchemaClassDefinition</B>(javax.naming.Name&nbsp;name)
                                                           throws javax.naming.NamingException</PRE>
<DL>
<DD>Retrieves a context containing the schema objects of the named 
 object's class definitions.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>getSchemaClassDefinition</CODE> in interface <CODE>javax.naming.directory.DirContext</CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the object whose object class definition is to 
 be retrieved
<DT><B>Returns:</B><DD>the DirContext containing the named object's class 
 definitions; never null
<DT><B>Throws:</B>
<DD><CODE>OperationNotSupportedException</CODE> - if schema not supported
<DD><CODE>javax.naming.NamingException</CODE> - if a naming exception is encountered</DL>
</DD>
</DL>
<HR>

<A NAME="getSchemaClassDefinition(java.lang.String)"><!-- --></A><H3>
getSchemaClassDefinition</H3>
<PRE>
public abstract javax.naming.directory.DirContext <B>getSchemaClassDefinition</B>(java.lang.String&nbsp;name)
                                                                    throws javax.naming.NamingException</PRE>
<DL>
<DD>Retrieves a context containing the schema objects of the named 
 object's class definitions.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>getSchemaClassDefinition</CODE> in interface <CODE>javax.naming.directory.DirContext</CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the object whose object class definition is to 
 be retrieved
<DT><B>Returns:</B><DD>the DirContext containing the named object's class 
 definitions; never null
<DT><B>Throws:</B>
<DD><CODE>OperationNotSupportedException</CODE> - if schema not supported
<DD><CODE>javax.naming.NamingException</CODE> - if a naming exception is encountered</DL>
</DD>
</DL>
<HR>

<A NAME="search(javax.naming.Name, javax.naming.directory.Attributes, java.lang.String[])"><!-- --></A><H3>
search</H3>
<PRE>
public javax.naming.NamingEnumeration <B>search</B>(javax.naming.Name&nbsp;name,
                                             javax.naming.directory.Attributes&nbsp;matchingAttributes,
                                             java.lang.String[]&nbsp;attributesToReturn)
                                      throws javax.naming.NamingException</PRE>
<DL>
<DD>Searches in a single context for objects that contain a specified set 
 of attributes, and retrieves selected attributes. The search is 
 performed using the default SearchControls settings.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>search</CODE> in interface <CODE>javax.naming.directory.DirContext</CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the context to search<DD><CODE>matchingAttributes</CODE> - the attributes to search for. If empty or 
 null, all objects in the target context are returned.<DD><CODE>attributesToReturn</CODE> - the attributes to return. null indicates 
 that all attributes are to be returned; an empty array indicates that 
 none are to be returned.
<DT><B>Returns:</B><DD>a non-null enumeration of SearchResult objects. Each 
 SearchResult contains the attributes identified by attributesToReturn 
 and the name of the corresponding object, named relative to the 
 context named by name.
<DT><B>Throws:</B>
<DD><CODE>javax.naming.NamingException</CODE> - if a naming exception is encountered</DL>
</DD>
</DL>
<HR>

<A NAME="search(java.lang.String, javax.naming.directory.Attributes, java.lang.String[])"><!-- --></A><H3>
search</H3>
<PRE>
public abstract javax.naming.NamingEnumeration <B>search</B>(java.lang.String&nbsp;name,
                                                      javax.naming.directory.Attributes&nbsp;matchingAttributes,
                                                      java.lang.String[]&nbsp;attributesToReturn)
                                               throws javax.naming.NamingException</PRE>
<DL>
<DD>Searches in a single context for objects that contain a specified set 
 of attributes, and retrieves selected attributes.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>search</CODE> in interface <CODE>javax.naming.directory.DirContext</CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the context to search<DD><CODE>matchingAttributes</CODE> - the attributes to search for. If empty or 
 null, all objects in the target context are returned.<DD><CODE>attributesToReturn</CODE> - the attributes to return. null indicates 
 that all attributes are to be returned; an empty array indicates that 
 none are to be returned.
<DT><B>Returns:</B><DD>a non-null enumeration of SearchResult objects. Each 
 SearchResult contains the attributes identified by attributesToReturn 
 and the name of the corresponding object, named relative to the 
 context named by name.
<DT><B>Throws:</B>
<DD><CODE>javax.naming.NamingException</CODE> - if a naming exception is encountered</DL>
</DD>
</DL>
<HR>

<A NAME="search(javax.naming.Name, javax.naming.directory.Attributes)"><!-- --></A><H3>
search</H3>
<PRE>
public javax.naming.NamingEnumeration <B>search</B>(javax.naming.Name&nbsp;name,
                                             javax.naming.directory.Attributes&nbsp;matchingAttributes)
                                      throws javax.naming.NamingException</PRE>
<DL>
<DD>Searches in a single context for objects that contain a specified set 
 of attributes. This method returns all the attributes of such objects. 
 It is equivalent to supplying null as the atributesToReturn parameter 
 to the method search(Name, Attributes, String[]).
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>search</CODE> in interface <CODE>javax.naming.directory.DirContext</CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the context to search<DD><CODE>matchingAttributes</CODE> - the attributes to search for. If empty or 
 null, all objects in the target context are returned.
<DT><B>Returns:</B><DD>a non-null enumeration of SearchResult objects. Each 
 SearchResult contains the attributes identified by attributesToReturn 
 and the name of the corresponding object, named relative to the 
 context named by name.
<DT><B>Throws:</B>
<DD><CODE>javax.naming.NamingException</CODE> - if a naming exception is encountered</DL>
</DD>
</DL>
<HR>

<A NAME="search(java.lang.String, javax.naming.directory.Attributes)"><!-- --></A><H3>
search</H3>
<PRE>
public abstract javax.naming.NamingEnumeration <B>search</B>(java.lang.String&nbsp;name,
                                                      javax.naming.directory.Attributes&nbsp;matchingAttributes)
                                               throws javax.naming.NamingException</PRE>
<DL>
<DD>Searches in a single context for objects that contain a specified set 
 of attributes.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>search</CODE> in interface <CODE>javax.naming.directory.DirContext</CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the context to search<DD><CODE>matchingAttributes</CODE> - the attributes to search for. If empty or 
 null, all objects in the target context are returned.
<DT><B>Returns:</B><DD>a non-null enumeration of SearchResult objects. Each 
 SearchResult contains the attributes identified by attributesToReturn 
 and the name of the corresponding object, named relative to the 
 context named by name.
<DT><B>Throws:</B>
<DD><CODE>javax.naming.NamingException</CODE> - if a naming exception is encountered</DL>
</DD>
</DL>
<HR>

<A NAME="search(javax.naming.Name, java.lang.String, javax.naming.directory.SearchControls)"><!-- --></A><H3>
search</H3>
<PRE>
public javax.naming.NamingEnumeration <B>search</B>(javax.naming.Name&nbsp;name,
                                             java.lang.String&nbsp;filter,
                                             javax.naming.directory.SearchControls&nbsp;cons)
                                      throws javax.naming.NamingException</PRE>
<DL>
<DD>Searches in the named context or object for entries that satisfy the 
 given search filter. Performs the search as specified by the search 
 controls.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>search</CODE> in interface <CODE>javax.naming.directory.DirContext</CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the context or object to search<DD><CODE>filter</CODE> - the filter expression to use for the search; may not be 
 null<DD><CODE>cons</CODE> - the search controls that control the search. If null, 
 the default search controls are used (equivalent to 
 (new SearchControls())).
<DT><B>Returns:</B><DD>an enumeration of SearchResults of the objects that satisfy 
 the filter; never null
<DT><B>Throws:</B>
<DD><CODE>InvalidSearchFilterException</CODE> - if the search filter specified 
 is not supported or understood by the underlying directory
<DD><CODE>InvalidSearchControlsException</CODE> - if the search controls 
 contain invalid settings
<DD><CODE>javax.naming.NamingException</CODE> - if a naming exception is encountered</DL>
</DD>
</DL>
<HR>

<A NAME="search(java.lang.String, java.lang.String, javax.naming.directory.SearchControls)"><!-- --></A><H3>
search</H3>
<PRE>
public abstract javax.naming.NamingEnumeration <B>search</B>(java.lang.String&nbsp;name,
                                                      java.lang.String&nbsp;filter,
                                                      javax.naming.directory.SearchControls&nbsp;cons)
                                               throws javax.naming.NamingException</PRE>
<DL>
<DD>Searches in the named context or object for entries that satisfy the 
 given search filter. Performs the search as specified by the search 
 controls.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>search</CODE> in interface <CODE>javax.naming.directory.DirContext</CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the context or object to search<DD><CODE>filter</CODE> - the filter expression to use for the search; may not be 
 null<DD><CODE>cons</CODE> - the search controls that control the search. If null, 
 the default search controls are used (equivalent to 
 (new SearchControls())).
<DT><B>Returns:</B><DD>an enumeration of SearchResults of the objects that satisfy 
 the filter; never null
<DT><B>Throws:</B>
<DD><CODE>InvalidSearchFilterException</CODE> - if the search filter 
 specified is not supported or understood by the underlying directory
<DD><CODE>InvalidSearchControlsException</CODE> - if the search controls 
 contain invalid settings
<DD><CODE>javax.naming.NamingException</CODE> - if a naming exception is encountered</DL>
</DD>
</DL>
<HR>

<A NAME="search(javax.naming.Name, java.lang.String, java.lang.Object[], javax.naming.directory.SearchControls)"><!-- --></A><H3>
search</H3>
<PRE>
public javax.naming.NamingEnumeration <B>search</B>(javax.naming.Name&nbsp;name,
                                             java.lang.String&nbsp;filterExpr,
                                             java.lang.Object[]&nbsp;filterArgs,
                                             javax.naming.directory.SearchControls&nbsp;cons)
                                      throws javax.naming.NamingException</PRE>
<DL>
<DD>Searches in the named context or object for entries that satisfy the 
 given search filter. Performs the search as specified by the search 
 controls.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>search</CODE> in interface <CODE>javax.naming.directory.DirContext</CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the context or object to search<DD><CODE>filterExpr</CODE> - the filter expression to use for the search. 
 The expression may contain variables of the form "{i}" where i is a 
 nonnegative integer. May not be null.<DD><CODE>filterArgs</CODE> - the array of arguments to substitute for the 
 variables in filterExpr. The value of filterArgs[i] will replace each 
 occurrence of "{i}". If null, equivalent to an empty array.<DD><CODE>cons</CODE> - the search controls that control the search. If null, the 
 default search controls are used (equivalent to (new SearchControls())).
<DT><B>Returns:</B><DD>an enumeration of SearchResults of the objects that satisy the 
 filter; never null
<DT><B>Throws:</B>
<DD><CODE>java.lang.ArrayIndexOutOfBoundsException</CODE> - if filterExpr contains {i} 
 expressions where i is outside the bounds of the array filterArgs
<DD><CODE>InvalidSearchControlsException</CODE> - if cons contains invalid 
 settings
<DD><CODE>InvalidSearchFilterException</CODE> - if filterExpr with filterArgs 
 represents an invalid search filter
<DD><CODE>javax.naming.NamingException</CODE> - if a naming exception is encountered</DL>
</DD>
</DL>
<HR>

<A NAME="search(java.lang.String, java.lang.String, java.lang.Object[], javax.naming.directory.SearchControls)"><!-- --></A><H3>
search</H3>
<PRE>
public abstract javax.naming.NamingEnumeration <B>search</B>(java.lang.String&nbsp;name,
                                                      java.lang.String&nbsp;filterExpr,
                                                      java.lang.Object[]&nbsp;filterArgs,
                                                      javax.naming.directory.SearchControls&nbsp;cons)
                                               throws javax.naming.NamingException</PRE>
<DL>
<DD>Searches in the named context or object for entries that satisfy the 
 given search filter. Performs the search as specified by the search 
 controls.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>search</CODE> in interface <CODE>javax.naming.directory.DirContext</CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the context or object to search<DD><CODE>filterExpr</CODE> - the filter expression to use for the search. 
 The expression may contain variables of the form "{i}" where i is a 
 nonnegative integer. May not be null.<DD><CODE>filterArgs</CODE> - the array of arguments to substitute for the 
 variables in filterExpr. The value of filterArgs[i] will replace each 
 occurrence of "{i}". If null, equivalent to an empty array.<DD><CODE>cons</CODE> - the search controls that control the search. If null, the 
 default search controls are used (equivalent to (new SearchControls())).
<DT><B>Returns:</B><DD>an enumeration of SearchResults of the objects that satisy the 
 filter; never null
<DT><B>Throws:</B>
<DD><CODE>java.lang.ArrayIndexOutOfBoundsException</CODE> - if filterExpr contains {i} 
 expressions where i is outside the bounds of the array filterArgs
<DD><CODE>InvalidSearchControlsException</CODE> - if cons contains invalid 
 settings
<DD><CODE>InvalidSearchFilterException</CODE> - if filterExpr with filterArgs 
 represents an invalid search filter
<DD><CODE>javax.naming.NamingException</CODE> - if a naming exception is encountered</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>


<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;PREV CLASS&nbsp;
&nbsp;<A HREF="../../../../org/apache/naming/resources/Constants.html" title="class in org.apache.naming.resources"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="BaseDirContext.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>

</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->

<HR>
Copyright  2000-2002 Apache Software Foundation.  All Rights Reserved.
</BODY>
</HTML>
